From: Sven Eckelmann The kernel-doc document a return value of 0 on success - which the code contradicts because it returns a 1 on success. This doesn't change the overall behavior because batadv_mesh_init() only checks for negative error values to detect problems. Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich --- net/batman-adv/translation-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 37ccd5464dda..49e60cc0e475 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -5342,7 +5342,7 @@ int batadv_tt_init(struct batadv_priv *bat_priv) queue_delayed_work(batadv_event_workqueue, &bat_priv->tt.work, msecs_to_jiffies(BATADV_TT_WORK_PERIOD)); - return 1; + return 0; } /** -- 2.47.3