![]() 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> |
||
---|---|---|
.. | ||
EndianFree.h | ||
Makefile | ||
aes.c | ||
arc4.c | ||
autoload.c | ||
cipher.c | ||
compress.c | ||
crypto_compat.h | ||
digest.c | ||
dot11d.c | ||
dot11d.h | ||
ieee80211.h | ||
ieee80211_crypt.c | ||
ieee80211_crypt.h | ||
ieee80211_crypt_ccmp.c | ||
ieee80211_crypt_tkip.c | ||
ieee80211_crypt_wep.c | ||
ieee80211_module.c | ||
ieee80211_rx.c | ||
ieee80211_softmac.c | ||
ieee80211_softmac_wx.c | ||
ieee80211_tx.c | ||
ieee80211_wx.c | ||
internal.h | ||
michael_mic.c | ||
proc.c | ||
rtl819x_BA.h | ||
rtl819x_BAProc.c | ||
rtl819x_HT.h | ||
rtl819x_HTProc.c | ||
rtl819x_Qos.h | ||
rtl819x_TS.h | ||
rtl819x_TSProc.c | ||
rtl_crypto.h | ||
scatterwalk.c | ||
scatterwalk.h |