diff mbox series

fs: fs-writeback.c: fix kernel-doc warning

Message ID 756645ac-0ce8-d47e-d30a-04d9e4923a4f@infradead.org (mailing list archive)
State New, archived
Headers show
Series fs: fs-writeback.c: fix kernel-doc warning | expand

Commit Message

Randy Dunlap Oct. 8, 2019, 8:36 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warning in fs/fs-writeback.c:

../fs/fs-writeback.c:913: warning: Excess function parameter 'nr_pages' description in 'cgroup_writeback_by_id'

Fixes: d62241c7a406 ("writeback, memcg: Implement cgroup_writeback_by_id()")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
---
 fs/fs-writeback.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

--- linux-next-20191008.orig/fs/fs-writeback.c
+++ linux-next-20191008/fs/fs-writeback.c
@@ -905,7 +905,7 @@  restart:
  * cgroup_writeback_by_id - initiate cgroup writeback from bdi and memcg IDs
  * @bdi_id: target bdi id
  * @memcg_id: target memcg css id
- * @nr_pages: number of pages to write, 0 for best-effort dirty flushing
+ * @nr: number of pages to write, 0 for best-effort dirty flushing
  * @reason: reason why some writeback work initiated
  * @done: target wb_completion
  *