]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit408b25ce09bad99fa97fc03c1e76a86ded6db567
tree2ced7c926ecf1dad173d56647cdc0bedf7b300c8
parent47599c6298943ede4662b5e31dfe375feac1b48a
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