Skip to contentSkip to conversation

writeback: Fix a warning while "make xmldocs"

PATCH In review Masanari Iida 2 participants 2 messages Oct 13, 2019 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 writeback: Fix a warning while "make xmldocs"

This patch fix following warning. ./fs/fs-writeback.c:918: warning: Excess function parameter 'nr_pages' description in 'cgroup_writeback_by_id'

---
 fs/fs-writeback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs-writeback.c +1 -1
index e88421d9a48d..8461a6322039 100644
@@ -905,7 +905,7 @@ static void bdi_split_work_to_wbs(struct backing_dev_info *bdi,
  * 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
  *
Signature · 1 line
2.23.0.526.g70bf0b755af4
#1 lore raw
Quoted 15 lines · Masanari Iida

This patch fix following warning. ./fs/fs-writeback.c:918: warning: Excess function parameter 'nr_pages' description in 'cgroup_writeback_by_id'

---
 fs/fs-writeback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs-writeback.c +0 -0
index e88421d9a48d..8461a6322039 100644

fs/fs-writeback.c static void bdi_split_work_to_wbs(struct backing_dev_info *bdi, · line 911

Quoted 8 lines
fs/fs-writeback.c +1 -1
@@ -905,7 +905,7 @@ static void bdi_split_work_to_wbs(struct backing_dev_info *bdi,
  * 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
  *

https://lore.kernel.org/linux-fsdevel/[email protected]/

Andrew has already added this to his patches.

Signature · 1 line
~Randy