git: a21addc7a013 - stable/14 - LinuxKPI: 802.11: fix wiphy_info[_once]
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 May 2025 11:50:26 UTC
The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=a21addc7a0137c5938414df322dbf5f929729834 commit a21addc7a0137c5938414df322dbf5f929729834 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-07 08:51:40 +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 (cherry picked from commit 845b81cf908002b14ac08ce8c42246720a5b30d9) --- 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