[PATCH net-next 06/11] batman-adv: correct batadv_wifi_* kernel-doc
flat view
STALE129d
From: Simon Wunderlich <sw@simonwunderlich.de>
Date: 2026-06-05 07:21:52
Also in:
batman
Subsystem:
batman advanced, the rest · Maintainers:
Marek Lindner, Simon Wunderlich, Antonio Quartulli, Sven Eckelmann, Linus Torvalds
From: Sven Eckelmann <sven@narfation.org> The original kernel documentation for the batadv_wifi_* functions contained copy+paste errors. Correct them to make it easier understandable. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> --- net/batman-adv/hard-interface.c | 6 +++--- net/batman-adv/hard-interface.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c
index e2c85bd8dbb53..60cee2c2f2f41 100644
--- a/net/batman-adv/hard-interface.c
+++ b/net/batman-adv/hard-interface.c@@ -971,9 +971,9 @@ static int batadv_hard_if_event_meshif(unsigned long event, /** * batadv_wifi_net_device_insert() - save information about wifi net_device * @net_dev: net_device to add to batadv_wifi_net_devices - * @wifi_flags: net_device which generated an event + * @wifi_flags: extracted batadv_hard_iface_wifi_flags of a net_device * - * Return: 0 on result, negative value on error + * Return: 0 on success, negative value on error */ static int batadv_wifi_net_device_insert(struct net_device *net_dev, u32 wifi_flags)
@@ -1006,7 +1006,7 @@ batadv_wifi_net_device_insert(struct net_device *net_dev, u32 wifi_flags) /** * batadv_wifi_net_device_remove() - remove information about wifi net_device - * @device_state: wifi net_device state to remove from batadv_wifi_net_device_state + * @device_state: wifi net_device state to remove from batadv_wifi_net_devices */ static void batadv_wifi_net_device_remove(struct batadv_wifi_net_device_state *device_state)
diff --git a/net/batman-adv/hard-interface.h b/net/batman-adv/hard-interface.h
index 822e7e378c4d1..af31696c39780 100644
--- a/net/batman-adv/hard-interface.h
+++ b/net/batman-adv/hard-interface.h@@ -126,7 +126,7 @@ batadv_primary_if_get_selected(struct batadv_priv *bat_priv) /** * batadv_is_cfg80211() - check if the given hardif is a cfg80211 * wifi interface - * @wifi_flags: extracted batadv_hard_iface_wifi_flagss of an net_device + * @wifi_flags: extracted batadv_hard_iface_wifi_flags of a net_device * * Return: true if the net device is a cfg80211 wireless device, false * otherwise.
@@ -143,7 +143,7 @@ static inline bool batadv_is_cfg80211(u32 wifi_flags) /** * batadv_is_wifi() - check if flags belong to wifi interface - * @wifi_flags: extracted batadv_hard_iface_wifi_flagss of an net_device + * @wifi_flags: extracted batadv_hard_iface_wifi_flags of a net_device * * Return: true if the net device is a 802.11 wireless device, false otherwise. */
--
2.47.3