From 271f3730fc8756037b51ff1a16950cd8797766a2 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Tue, 1 Sep 2026 19:14:49 +0200 Subject: [PATCH] batman-adv: bat_iv: fix ogm_neigh_is_sob parameters references The batadv_iv_ogm_neigh_is_sob() kernel-doc summary line is still referencing the old parameter names "neigh1" and "neigh2". But these are now called "candidate" and "reference". Reported-by: Sashiko Closes: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260831135117.574836-1-sw%40simonwunderlich.de?part=5 Signed-off-by: Sven Eckelmann --- net/batman-adv/bat_iv_ogm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c index 3fe09b4c3046..89b499f7a37d 100644 --- a/net/batman-adv/bat_iv_ogm.c +++ b/net/batman-adv/bat_iv_ogm.c @@ -2422,8 +2422,8 @@ static int batadv_iv_ogm_neigh_cmp(struct batadv_neigh_node *neigh1, } /** - * batadv_iv_ogm_neigh_is_sob() - check if neigh1 is similarly good or better - * than neigh2 from the metric prospective + * batadv_iv_ogm_neigh_is_sob() - check if @candidate is similarly good or + * better than @reference from the metric prospective * @candidate: the first neighbor object of the comparison * @if_outgoing_cand: outgoing interface for the @candidate neighbor * @reference: the second neighbor object of the comparison