The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=7043ca9140d2bf4c42371e25716298d24da54cd0

commit 7043ca9140d2bf4c42371e25716298d24da54cd0
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-02-07 21:43:22 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-02-07 21:43:22 +0000

    linuxkpi: Add parentheses to pacify -Wparentheses warnings from GCC.
    
    Reviewed by:    bz, emaste
    Differential Revision:  https://reviews.freebsd.org/D34145
---
 sys/compat/linuxkpi/common/include/net/mac80211.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 */

Reply via email to