Skip to content

Commit 25d81f9

Browse files
ecsvsimonwunderlich
authored andcommitted
batman-adv: Fix names for kernel-doc blocks
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>
1 parent 576fb67 commit 25d81f9

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

net/batman-adv/distributed-arp-table.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ static int batadv_dat_get_dhcp_message_type(struct sk_buff *skb)
15641564
}
15651565

15661566
/**
1567-
* batadv_dat_get_dhcp_yiaddr() - get yiaddr from a DHCP packet
1567+
* batadv_dat_dhcp_get_yiaddr() - get yiaddr from a DHCP packet
15681568
* @skb: the DHCP packet to parse
15691569
* @buf: a buffer to store the yiaddr in
15701570
*

net/batman-adv/multicast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ batadv_mcast_bridge_log(struct batadv_priv *bat_priv,
828828
}
829829

830830
/**
831-
* batadv_mcast_flags_logs() - output debug information about mcast flag changes
831+
* batadv_mcast_flags_log() - output debug information about mcast flag changes
832832
* @bat_priv: the bat priv with all the soft interface information
833833
* @flags: TVLV flags indicating the new multicast state
834834
*

net/batman-adv/netlink.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static int batadv_netlink_mesh_fill_ap_isolation(struct sk_buff *msg,
193193
}
194194

195195
/**
196-
* batadv_option_set_ap_isolation() - Set ap_isolation from genl msg
196+
* batadv_netlink_set_mesh_ap_isolation() - Set ap_isolation from genl msg
197197
* @attr: parsed BATADV_ATTR_AP_ISOLATION_ENABLED attribute
198198
* @bat_priv: the bat priv with all the soft interface information
199199
*
@@ -757,7 +757,7 @@ batadv_netlink_tp_meter_start(struct sk_buff *skb, struct genl_info *info)
757757
}
758758

759759
/**
760-
* batadv_netlink_tp_meter_start() - Cancel a running tp_meter session
760+
* batadv_netlink_tp_meter_cancel() - Cancel a running tp_meter session
761761
* @skb: received netlink message
762762
* @info: receiver information
763763
*

net/batman-adv/tp_meter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static u32 batadv_tp_cwnd(u32 base, u32 increment, u32 min)
131131
}
132132

133133
/**
134-
* batadv_tp_updated_cwnd() - update the Congestion Windows
134+
* batadv_tp_update_cwnd() - update the Congestion Windows
135135
* @tp_vars: the private data of the current TP meter session
136136
* @mss: maximum segment size of transmission
137137
*

net/batman-adv/types.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ struct batadv_hard_iface {
228228
};
229229

230230
/**
231-
* struct batadv_orig_ifinfo - B.A.T.M.A.N. IV private orig_ifinfo members
231+
* struct batadv_orig_ifinfo_bat_iv - B.A.T.M.A.N. IV private orig_ifinfo
232+
* members
232233
*/
233234
struct batadv_orig_ifinfo_bat_iv {
234235
/**

0 commit comments

Comments
 (0)