* [PATCH] lib/percpu_counter: tame kernel-doc compile warning
@ 2021-04-05 13:55 alexs
0 siblings, 0 replies; only message in thread
From: alexs @ 2021-04-05 13:55 UTC (permalink / raw)
Cc: Alex Shi, Nikolay Borisov, Andrew Morton, Stephen Boyd, linux-kernel
From: Alex Shi <firstname.lastname@example.org>
commit 3e8f399da490 ("writeback: rework wb_[dec|inc]_stat family of
functions") add some function description of percpu_counter_add_batch.
but the double '*' in comments means a kernel-doc format comment which
Since the whole file of lib/percpu_counter.c has no any other kernel-doc
format comments, we'd better to remove this incomplete one to tame
the kernel-doc warning:
lib/percpu_counter.c:83: warning: Function parameter or member 'fbc' not described in 'percpu_counter_add_batch'
lib/percpu_counter.c:83: warning: Function parameter or member 'amount' not described in 'percpu_counter_add_batch'
lib/percpu_counter.c:83: warning: Function parameter or member 'batch' not described in 'percpu_counter_add_batch'
Signed-off-by: Alex Shi <email@example.com>
Cc: Nikolay Borisov <firstname.lastname@example.org>
Cc: Andrew Morton <email@example.com>
Cc: Stephen Boyd <firstname.lastname@example.org>
lib/percpu_counter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c
index 00f666d94486..ed610b75dc32 100644
@@ -72,7 +72,7 @@ void percpu_counter_set(struct percpu_counter *fbc, s64 amount)
* This function is both preempt and irq safe. The former is due to explicit
* preemption disable. The latter is guaranteed by the fact that the slow path
* is explicitly protected by an irq-safe spinlock whereas the fast patch uses
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-05 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 13:55 [PATCH] lib/percpu_counter: tame kernel-doc compile warning alexs
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.