linux-next: build warning after merge of the mac80211-next tree
Subsystems (2)
Hi all,
After merging the mac80211-next tree, today's linux-next build (htmldocs) produced this warning:
include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead
Introduced by commit
6f779a66dc84 ("cfg80211: allow specifying a reason for hw_rfkill")
Signature · 2 lines
Cheers, Stephen Rothwell
Hi,
Quoted 10 lines
Hi all,
After merging the mac80211-next tree, today's linux-next build (htmldocs) produced this warning:
include/net/cfg80211.h:6643: warning: expecting prototype forwiphy_rfkill_set_hw_state(). Prototype was forwiphy_rfkill_set_hw_state_reason()insteadinclude/net/cfg80211.h:6643: warning: expecting prototype for
Ouch
Johannes, this is the fix:
include/net/cfg80211.h +1 -1
@@ -6634,7 +6634,7 @@ void cfg80211_notify_new_peer_candidate(struct net_device *dev,*/ /** -* wiphy_rfkill_set_hw_state - notify cfg80211 about hw block state +* wiphy_rfkill_set_hw_state_reason - notify cfg80211 about hw block state * @wiphy: the wiphy * @blocked: block status * @reason: one of reasons in &enum rfkill_hard_block_reasons
Do you want a patch or you amend the original commit? It is not in net-next yet.
Johannes Berg
maintainerQuoted 31 lines · Emmanuel
Hi,
Quoted 10 lines
Hi all,
After merging the mac80211-next tree, today's linux-next build (htmldocs) produced this warning:
include/net/cfg80211.h:6643: warning: expecting prototype forwiphy_rfkill_set_hw_state(). Prototype was forwiphy_rfkill_set_hw_state_reason()insteadinclude/net/cfg80211.h:6643: warning: expecting prototype forOuch
Johannes, this is the fix:
include/net/cfg80211.h +0
-0@@ -6634,7 +6634,7 @@ void cfg80211_notify_new_peer_candidate(struct net_device *dev,*/ /**
- *wiphy_rfkill_set_hw_state- notify cfg80211 about hw block state
+ *wiphy_rfkill_set_hw_state_reason- notify cfg80211 about hw block state
* @wiphy: the wiphy
* @blocked: block status
* @reason: one of reasons in &enumrfkill_hard_block_reasons
Quoted 2 lines
Do you want a patch or you amend the original commit? It is not in net-next yet.
Please send a separate fix anyway, I've pushed it out publicly after all and try not to rebase unless absolutely necessary.
johannes