mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
8e41cae64b
gcc warning this:
drivers/net/ieee802154/ca8210.c:730:10: warning:
comparison is always false due to limited range of data type [-Wtype-limits]
'len' is u8 type, we get it from buf[1] adding 2, which can overflow.
This patch change the type of 'len' to unsigned int to avoid this,also fix
the gcc warning.
Fixes:
|
||
---|---|---|
.. | ||
adf7242.c | ||
at86rf230.c | ||
at86rf230.h | ||
atusb.c | ||
atusb.h | ||
ca8210.c | ||
cc2520.c | ||
fakelb.c | ||
Kconfig | ||
mac802154_hwsim.c | ||
mac802154_hwsim.h | ||
Makefile | ||
mcr20a.c | ||
mcr20a.h | ||
mrf24j40.c |