Date: Mon, 7 Feb 2022 21:43:42 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7043ca9140d2 - main - linuxkpi: Add parentheses to pacify -Wparentheses warnings from GCC. Message-ID: <202202072143.217LhguZ017538@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7043ca9140d2bf4c42371e25716298d24da54cd0 commit 7043ca9140d2bf4c42371e25716298d24da54cd0 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-02-07 21:43:22 +0000 Commit: John Baldwin <jhb@FreeBSD.org> 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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202072143.217LhguZ017538>