rculist: Describe variadic macro argument in a Sphinx-compatible way
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 4 Oct 2019 21:54:02 +0000 (23:54 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 9 Dec 2019 20:36:57 +0000 (12:36 -0800)
commitf452ee096d95482892b101bde4fd037fa025d3cc
tree2ced7c926ecf1dad173d56647cdc0bedf7b300c8
parente42617b825f8073569da76dc4510bfa019b1c35a
rculist: Describe variadic macro argument in a Sphinx-compatible way

Without this patch, Sphinx shows "variable arguments" as the description
of the cond argument, rather than the intended description, and prints
the following warnings:

./include/linux/rculist.h:374: warning: Excess function parameter 'cond' description in 'list_for_each_entry_rcu'
./include/linux/rculist.h:651: warning: Excess function parameter 'cond' description in 'hlist_for_each_entry_rcu'

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Acked-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
include/linux/rculist.h