wifi: nl80211: rename enum plink_actions
authorJeff Johnson <quic_jjohnson@quicinc.com>
Tue, 19 Mar 2024 18:26:23 +0000 (11:26 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:36:55 +0000 (15:36 +0100)
kernel-doc flagged the following issue:
include/uapi/linux/nl80211.h:6081: warning: expecting prototype for enum nl80211_plink_action. Prototype was for enum plink_actions instead

This is because the documentation doesn't match the code. Normally the
correct fix for such an issue is to modify the documentation to match
the code. However, in this case, since the actual name plink_actions
is not referenced by any code, rename it to nl80211_plink_action to
give it a proper prefix and match the documentation.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://msgid.link/20240319-kdoc-nl80211-v1-1-549e09d52866@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h

index f23ecbdd84a284b65944aa5ef82e1d18b4f0c199..9397c61a48dcddb3ec2bc5f6f637b1eda53e1a05 100644 (file)
@@ -6077,7 +6077,7 @@ enum nl80211_plink_state {
  * @NL80211_PLINK_ACTION_BLOCK: block traffic from this mesh peer
  * @NUM_NL80211_PLINK_ACTIONS: number of possible actions
  */
-enum plink_actions {
+enum nl80211_plink_action {
        NL80211_PLINK_ACTION_NO_ACTION,
        NL80211_PLINK_ACTION_OPEN,
        NL80211_PLINK_ACTION_BLOCK,