]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
batman-adv: Fix names for kernel-doc blocks
authorSven Eckelmann <sven@narfation.org>
Wed, 20 Jan 2021 19:50:35 +0000 (20:50 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sat, 6 Feb 2021 08:22:45 +0000 (09:22 +0100)
kernel-doc can only correctly identify the documented function or struct
when the name in the first kernel-doc line references it. But some of the
kernel-doc blocks referenced a different function/struct then it actually
documented.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/distributed-arp-table.c
net/batman-adv/multicast.c
net/batman-adv/netlink.c
net/batman-adv/tp_meter.c
net/batman-adv/types.h

index 2542d85a59b4ad3d896f088d4e8e6fe42135354f..8c95a11a830acc7ffe160da7ec4fdd45560756fe 100644 (file)
@@ -1564,7 +1564,7 @@ static int batadv_dat_get_dhcp_message_type(struct sk_buff *skb)
 }
 
 /**
- * batadv_dat_get_dhcp_yiaddr() - get yiaddr from a DHCP packet
+ * batadv_dat_dhcp_get_yiaddr() - get yiaddr from a DHCP packet
  * @skb: the DHCP packet to parse
  * @buf: a buffer to store the yiaddr in
  *
index 71d0bc3234710de9ab197d93cd7c57a668f65d58..28166402d30c0bb098a2f1eceec3db065115ab09 100644 (file)
@@ -828,7 +828,7 @@ batadv_mcast_bridge_log(struct batadv_priv *bat_priv,
 }
 
 /**
- * batadv_mcast_flags_logs() - output debug information about mcast flag changes
+ * batadv_mcast_flags_log() - output debug information about mcast flag changes
  * @bat_priv: the bat priv with all the soft interface information
  * @flags: TVLV flags indicating the new multicast state
  *
index fdd76eeaa6bef937acd6382dc018b1aa534a5833..f317d206b411d87b4da2f57e35c3fb78cedfb160 100644 (file)
@@ -193,7 +193,7 @@ static int batadv_netlink_mesh_fill_ap_isolation(struct sk_buff *msg,
 }
 
 /**
- * batadv_option_set_ap_isolation() - Set ap_isolation from genl msg
+ * batadv_netlink_set_mesh_ap_isolation() - Set ap_isolation from genl msg
  * @attr: parsed BATADV_ATTR_AP_ISOLATION_ENABLED attribute
  * @bat_priv: the bat priv with all the soft interface information
  *
@@ -757,7 +757,7 @@ batadv_netlink_tp_meter_start(struct sk_buff *skb, struct genl_info *info)
 }
 
 /**
- * batadv_netlink_tp_meter_start() - Cancel a running tp_meter session
+ * batadv_netlink_tp_meter_cancel() - Cancel a running tp_meter session
  * @skb: received netlink message
  * @info: receiver information
  *
index 07e6c1d864a416a050b8c6f27cc5a896eca3fdbd..789c851732b78ad9d1515f7b171219cc770c7045 100644 (file)
@@ -131,7 +131,7 @@ static u32 batadv_tp_cwnd(u32 base, u32 increment, u32 min)
 }
 
 /**
- * batadv_tp_updated_cwnd() - update the Congestion Windows
+ * batadv_tp_update_cwnd() - update the Congestion Windows
  * @tp_vars: the private data of the current TP meter session
  * @mss: maximum segment size of transmission
  *
index 2c654ec964b7cb8f3fb8d66e66686b6b04aa1fe3..7c0b475cc22a8ce8b22de75ebc946185d31ef0b9 100644 (file)
@@ -228,7 +228,8 @@ struct batadv_hard_iface {
 };
 
 /**
- * struct batadv_orig_ifinfo - B.A.T.M.A.N. IV private orig_ifinfo members
+ * struct batadv_orig_ifinfo_bat_iv - B.A.T.M.A.N. IV private orig_ifinfo
+ *  members
  */
 struct batadv_orig_ifinfo_bat_iv {
        /**