linux/drivers/staging/rtl8188eu
Larry Finger dc14a626e4 staging: r8188eu: Fix smatch warnings in os_dep/ioctl_linux.c
Smatch reports the following:
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:941 rtw_wx_set_pmkid() warn: add some parenthesis here?
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:1042 rtw_wx_get_range() warn: assigning (-78) to unsigned variable 'range->avg_qual.level'
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:2629 rtw_get_ap_info() warn: add some parenthesis here?
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:4043 rtw_rereg_nd_name() warn: add some parenthesis here?
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:4052 rtw_rereg_nd_name() warn: add some parenthesis here?

The warnings calling for adding parentheses all have "if (!memcmp() == true)" and
are fixed by removing the "==true" part.

The warning where a negative number is stored in an unsigned variable is fixed
by biasing the result by 256.

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 warning in hal/usb_ops_linux.c 2013-09-17 07:47:45 -07:00
include staging: r8188eu: Fix smatch error in core/rtw_mlme_ext.c 2013-09-17 07:47:44 -07:00
os_dep staging: r8188eu: Fix smatch warnings 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