2010-06-30 22:27:15

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] fs-writeback: fix kernel-doc warnings

From: Randy Dunlap <[email protected]>

Fix kernel-doc to match the function's changed args.

Warning(fs/fs-writeback.c:190): No description found for parameter 'args'
Warning(fs/fs-writeback.c:190): Excess function parameter 'sb' description in 'bdi_queue_work_onstack'

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Jens Axboe <[email protected]>
---
fs/fs-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.35-rc3-git4.orig/fs/fs-writeback.c
+++ linux-2.6.35-rc3-git4/fs/fs-writeback.c
@@ -179,7 +179,7 @@ static void bdi_alloc_queue_work(struct

/**
* bdi_queue_work_onstack - start and wait for writeback
- * @sb: write inodes from this super_block
+ * @args: parameters to control the work queue writeback
*
* Description:
* This function initiates writeback and waits for the operation to


2010-07-01 06:27:14

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] fs-writeback: fix kernel-doc warnings

On 2010-07-01 00:27, Randy Dunlap wrote:
> Fix kernel-doc to match the function's changed args.
>
> Warning(fs/fs-writeback.c:190): No description found for parameter 'args'
> Warning(fs/fs-writeback.c:190): Excess function parameter 'sb' description in 'bdi_queue_work_onstack'
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Christoph Hellwig <[email protected]>
> Cc: Jens Axboe <[email protected]>

Applied.

--
Jens Axboe