mirror of
https://github.com/ipxe/ipxe
synced 2026-02-03 06:34:32 +03:00
Should be an <= comparison, not a < comparison.
(Detected using "make symcheck" :)
This commit is contained in:
@@ -105,10 +105,10 @@ struct bus_dev {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define BUS_LOC_CHECK(datatype) \
|
#define BUS_LOC_CHECK(datatype) \
|
||||||
LINKER_ASSERT( ( sizeof (datatype) < sizeof (struct bus_loc) ), \
|
LINKER_ASSERT( ( sizeof (datatype) <= sizeof (struct bus_loc) ), \
|
||||||
__BUS_LOC_SIZE_is_too_small__see_dev_h )
|
__BUS_LOC_SIZE_is_too_small__see_dev_h )
|
||||||
#define BUS_DEV_CHECK(datatype) \
|
#define BUS_DEV_CHECK(datatype) \
|
||||||
LINKER_ASSERT( ( sizeof (datatype) < sizeof (struct bus_dev) ), \
|
LINKER_ASSERT( ( sizeof (datatype) <= sizeof (struct bus_dev) ), \
|
||||||
__BUS_DEV_SIZE_is_too_small__see_dev_h )
|
__BUS_DEV_SIZE_is_too_small__see_dev_h )
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user