Date: Wed, 11 May 2022 00:30:06 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ffefb636273d - stable/13 - linuxkpi: Add parentheses to pacify -Wparentheses warnings from GCC. Message-ID: <202205110030.24B0U6Eg056885@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ffefb636273d044be67919f512d1534cd336c675 commit ffefb636273d044be67919f512d1534cd336c675 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-02-07 21:43:22 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-11 00:06:44 +0000 linuxkpi: Add parentheses to pacify -Wparentheses warnings from GCC. Reviewed by: bz, emaste Differential Revision: https://reviews.freebsd.org/D34145 (cherry picked from commit 7043ca9140d2bf4c42371e25716298d24da54cd0) --- 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 857fa0a9bb03..7a8306919194 100644 --- a/sys/compat/linuxkpi/common/include/net/mac80211.h +++ b/sys/compat/linuxkpi/common/include/net/mac80211.h @@ -111,7 +111,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?202205110030.24B0U6Eg056885>