linux/drivers/staging/rtl8188eu
Larry Finger 1ad866e7bf staging: r8188eu: Fix smatch warnings in core/rtw_xmit.c
Smatch reports the following:
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:1500 hal_EfusePgPacketWriteData() info: ignoring unreachable code.
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:2188 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_CCK_Base[rfPath]' 14 <= 14
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:2190 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_BW40_Base[rfPath]' 14 <= 14
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:2196 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_CCK_Base[rfPath]' 14 <= 14
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:2197 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_BW40_Base[rfPath]' 14 <= 14

The first of these is trivial. The rest are due to an off-by-one error
in a loop over the channels.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-17 07:47:45 -07:00
..
core staging: r8188eu: Fix a smatch warnings in core/rtw_recv.c 2013-09-17 07:47:45 -07:00
hal staging: r8188eu: Fix smatch warnings in core/rtw_xmit.c 2013-09-17 07:47:45 -07:00
include staging: r8188eu: Fix smatch warnings for hal/rtl8188e_phycfg.c 2013-09-17 07:47:45 -07:00
os_dep staging: r8188eu: Fix smatch warning in os_dep/ioctl_linux.c 2013-09-17 07:47:45 -07:00
Kconfig staging: r8188eu: Insert Kconfig files for new driver 2013-08-22 10:20:31 -07:00
Makefile staging: r8188eu: Turn on build of new driver 2013-08-22 10:20:31 -07:00
TODO staging: r8188eu: Turn on build of new driver 2013-08-22 10:20:31 -07:00