|
@@ -105,10 +105,10 @@ struct bus_dev {
|
105
|
105
|
}
|
106
|
106
|
|
107
|
107
|
#define BUS_LOC_CHECK(datatype) \
|
108
|
|
- LINKER_ASSERT( ( sizeof (datatype) < sizeof (struct bus_loc) ), \
|
|
108
|
+ LINKER_ASSERT( ( sizeof (datatype) <= sizeof (struct bus_loc) ), \
|
109
|
109
|
__BUS_LOC_SIZE_is_too_small__see_dev_h )
|
110
|
110
|
#define BUS_DEV_CHECK(datatype) \
|
111
|
|
- LINKER_ASSERT( ( sizeof (datatype) < sizeof (struct bus_dev) ), \
|
|
111
|
+ LINKER_ASSERT( ( sizeof (datatype) <= sizeof (struct bus_dev) ), \
|
112
|
112
|
__BUS_DEV_SIZE_is_too_small__see_dev_h )
|
113
|
113
|
|
114
|
114
|
/*
|