* [PATCH] cfg80211: fix compilation error in cfg80211
@ 2014-05-09 11:21 Luca Coelho
2014-05-09 11:33 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Luca Coelho @ 2014-05-09 11:21 UTC (permalink / raw)
To: johannes; +Cc: linux-wireless
From: Luciano Coelho <luciano.coelho@intel.com>
Commit 0be035a2 (mac80211: handle failed restart/resume better) broke
compilation:
net/wireless/core.c: In function 'cfg80211_shutdown_all_interfaces':
net/wireless/core.c:215:9: error: implicit declaration of function 'wiphy_to_dev' [-Werror=implicit-function-declaration]
struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
^
This is due to the function name change from wiphy_to_dev() to
wiphy_to_rdev().
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
---
Feel free to squash this into your last commit, if you prefer to
rebase your mac80211-next/master branch.
net/wireless/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/wireless/core.c b/net/wireless/core.c
index c95fddf..3978871 100644
--- a/net/wireless/core.c
+++ b/net/wireless/core.c
@@ -212,7 +212,7 @@ void cfg80211_stop_p2p_device(struct cfg80211_registered_device *rdev,
void cfg80211_shutdown_all_interfaces(struct wiphy *wiphy)
{
- struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
+ struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy);
struct wireless_dev *wdev;
ASSERT_RTNL();
--
2.0.0.rc0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] cfg80211: fix compilation error in cfg80211
2014-05-09 11:21 [PATCH] cfg80211: fix compilation error in cfg80211 Luca Coelho
@ 2014-05-09 11:33 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2014-05-09 11:33 UTC (permalink / raw)
To: Luca Coelho; +Cc: linux-wireless
On Fri, 2014-05-09 at 14:21 +0300, Luca Coelho wrote:
> From: Luciano Coelho <luciano.coelho@intel.com>
>
> Commit 0be035a2 (mac80211: handle failed restart/resume better) broke
> compilation:
>
> net/wireless/core.c: In function 'cfg80211_shutdown_all_interfaces':
> net/wireless/core.c:215:9: error: implicit declaration of function 'wiphy_to_dev' [-Werror=implicit-function-declaration]
> struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
> ^
>
> This is due to the function name change from wiphy_to_dev() to
> wiphy_to_rdev().
Yeah, my mistake, but I already had Fengguang's build bot flag it and
fixed it already. Thanks though.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-09 11:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 11:21 [PATCH] cfg80211: fix compilation error in cfg80211 Luca Coelho
2014-05-09 11:33 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).