linux/drivers/staging/rtl8192u
Dan Carpenter cbf2f545d7 staging: rtl8192u: fix a macro expansion bug
Clang detected this macro expansion bug:
drivers/staging/rtl8192u/r8192U_core.c:2384:76: warning: operator '?:'
	has lower precedence than '+'; '+' will be evaluated first
	[-Wparentheses]

The line from the .c file looks like this:
	u1bAIFS = qos_parameters->aifs[i] * ((mode&(IEEE_G|IEEE_N_24G)) ?9:20) + aSifsTime;

We need to put parenthesis around the entire macro to fix the bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22 11:39:22 -07:00
..
ieee80211 staging: rtl8192u: fix a macro expansion bug 2012-10-22 11:39:22 -07:00
Kconfig
Makefile
authors
changes
copying
dot11d.h
ieee80211_crypt.h
r819xU_HTGen.h
r819xU_HTType.h
r819xU_cmdpkt.c
r819xU_cmdpkt.h
r819xU_firmware.c
r819xU_firmware.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_phy.c
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c
r8180_93cx6.h
r8180_pm.c
r8180_pm.h
r8190_rtl8256.c
r8190_rtl8256.h
r8192U.h
r8192U_core.c drivers/staging/rtl8192u/r8192U_core.c: Remove useless kfree 2012-09-12 09:43:45 -07:00
r8192U_dm.c
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c
r8192U_wx.h