From: Dan Carpenter Date: Tue, 28 Jan 2014 14:00:52 +0000 (+0300) Subject: staging: rtl8821ae: a couple macro expansion bugs X-Git-Tag: v3.15-rc1~139^2~1233 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79285edd366089b5af76e9249d495e097aaa07a6;p=pandora-kernel.git staging: rtl8821ae: a couple macro expansion bugs These macros need parentheses, otherwise it causes a macro expansion bug when they are used like this: ch->flags &= ~IEEE80211_CHAN_NO_IBSS; This was found using Smatch: drivers/staging/rtl8821ae/regd.c:200 _rtl_reg_apply_beaconing_flags() warn: the 'IEEE80211_CHAN_NO_IBSS' macro might need parens Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed