diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-02-07 21:43:22 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-02-07 21:43:22 +0000 |
commit | 7043ca9140d2bf4c42371e25716298d24da54cd0 (patch) | |
tree | 500a0cfde0f653c8685c6ae40040b731b2152da9 | |
parent | 3ec0dc367bff27c345ad83240625b2057af391b9 (diff) | |
download | src-7043ca9140d2bf4c42371e25716298d24da54cd0.tar.gz src-7043ca9140d2bf4c42371e25716298d24da54cd0.zip |
linuxkpi: Add parentheses to pacify -Wparentheses warnings from GCC.
Reviewed by: bz, emaste
Differential Revision: https://reviews.freebsd.org/D34145
-rw-r--r-- | sys/compat/linuxkpi/common/include/net/mac80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h index 4c558e42da24..7c3afebb19f8 100644 --- a/sys/compat/linuxkpi/common/include/net/mac80211.h +++ b/sys/compat/linuxkpi/common/include/net/mac80211.h @@ -99,7 +99,7 @@ enum ieee80211_bss_changed { }; /* 802.11 Figure 9-256 Suite selector format. [OUI(3), SUITE TYPE(1)] */ -#define WLAN_CIPHER_SUITE_OUI(_oui, _x) ((_oui) << 8 | (_x) & 0xff) +#define WLAN_CIPHER_SUITE_OUI(_oui, _x) (((_oui) << 8) | ((_x) & 0xff)) /* 802.11 Table 9-131 Cipher suite selectors. */ /* 802.1x suite B 11 */ |