diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-01-28 18:00:52 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 22:30:39 +0400 |
| commit | 79285edd366089b5af76e9249d495e097aaa07a6 (patch) | |
| tree | 5dba5370a493213f3e556e962a79070fb638e02b /include | |
| parent | 417c070ad497126c7829625d74e034015aaa39ff (diff) | |
| download | linux-79285edd366089b5af76e9249d495e097aaa07a6.tar.xz | |
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 <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
