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
authors
changes
copying
dot11d.h
ieee80211_crypt.h
Kconfig staging/rtl81*: build as loadable modules only 2011-04-04 22:46:15 -07:00
Makefile
r819xU_cmdpkt.c staging:rtl8192u Fix typos and comments 2012-05-01 21:50:58 -07:00
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c staging:rtl8192u Fix typos and comments 2012-05-01 21:50:58 -07:00
r819xU_firmware.h
r819xU_HTGen.h
r819xU_HTType.h staging: rtl8192u: Fix typo in staging/rtl8192u 2012-08-13 19:32:13 -07:00
r819xU_phy.c staging:rtl8192u Fix typos and comments 2012-05-01 21:50:58 -07:00
r819xU_phy.h
r819xU_phyreg.h staging: rtl8192u: Fix typo in staging/rtl8192u 2012-08-13 19:32:13 -07:00
r8180_93cx6.c staging: rtl8192u Fix a typo. 2012-05-01 21:50:09 -07:00
r8180_93cx6.h staging: rtl8192u Fix a typo. 2012-05-01 21:50:09 -07:00
r8180_pm.c
r8180_pm.h
r8190_rtl8256.c
r8190_rtl8256.h
r8192U_core.c drivers/staging/rtl8192u/r8192U_core.c: Remove useless kfree 2012-09-12 09:43:45 -07:00
r8192U_dm.c staging: "rtl8192e/r8192u" typo change ContiuneDiffCount. 2012-05-01 21:52:12 -07:00
r8192U_dm.h
r8192U_hw.h staging: rtl8192u Fix a typo. 2012-05-01 21:50:09 -07:00
r8192U_wx.c staging: rtl8192u Fix a typo. 2012-05-01 21:50:09 -07:00
r8192U_wx.h staging: rtl8192u Fix a typo. 2012-05-01 21:50:09 -07:00
r8192U.h staging: "rtl8192e/r8192u" typo change ContiuneDiffCount. 2012-05-01 21:52:12 -07:00