Date: Thu, 8 May 2025 21:23:29 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 71946313d4d5 - releng/14.3 - LinuxKPI: 802.11: fix wiphy_info[_once] Message-ID: <202505082123.548LNTLF073137@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch releng/14.3 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=71946313d4d50e8727afd089a1556f52cba62863 commit 71946313d4d50e8727afd089a1556f52cba62863 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-05-02 20:14:35 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-05-08 21:22:35 +0000 LinuxKPI: 802.11: fix wiphy_info[_once] The dev field in wiphy is a pointer already; no need for &. Sponsored by: The FreeBSD Foundation Fixes: ac1d519c01ca8 Approved by: re (cperciva) (cherry picked from commit 845b81cf908002b14ac08ce8c42246720a5b30d9) (cherry picked from commit a21addc7a0137c5938414df322dbf5f929729834) --- sys/compat/linuxkpi/common/include/net/cfg80211.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/linuxkpi/common/include/net/cfg80211.h b/sys/compat/linuxkpi/common/include/net/cfg80211.h index 328563b4a125..aae60983f5f6 100644 --- a/sys/compat/linuxkpi/common/include/net/cfg80211.h +++ b/sys/compat/linuxkpi/common/include/net/cfg80211.h @@ -2281,9 +2281,9 @@ wiphy_delayed_work_cancel(struct wiphy *wiphy, struct wiphy_delayed_work *wdwk) #define wiphy_err(_wiphy, _fmt, ...) \ dev_err((_wiphy)->dev, _fmt, __VA_ARGS__) #define wiphy_info(wiphy, fmt, ...) \ - dev_info(&(wiphy)->dev, fmt, ##__VA_ARGS__) + dev_info((wiphy)->dev, fmt, ##__VA_ARGS__) #define wiphy_info_once(wiphy, fmt, ...) \ - dev_info_once(&(wiphy)->dev, fmt, ##__VA_ARGS__) + dev_info_once((wiphy)->dev, fmt, ##__VA_ARGS__) #ifndef LINUXKPI_NET80211 #define ieee80211_channel linuxkpi_ieee80211_channel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505082123.548LNTLF073137>