2020-06-15 20:13:22

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] trace/events/block.h: drop kernel-doc for dropped function parameter

From: Randy Dunlap <[email protected]>

Fix kernel-doc warning: the parameter was removed, so also remove
the kernel-doc notation for it.

../include/trace/events/block.h:278: warning: Excess function parameter 'error' description in 'trace_block_bio_complete'

Fixes: d24de76af836 ("block: remove the error argument to the block_bio_complete tracepoint")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Jens Axboe <[email protected]>
---
include/trace/events/block.h | 1 -
1 file changed, 1 deletion(-)

--- linux-next-20200615.orig/include/trace/events/block.h
+++ linux-next-20200615/include/trace/events/block.h
@@ -254,7 +254,6 @@ TRACE_EVENT(block_bio_bounce,
* block_bio_complete - completed all work on the block operation
* @q: queue holding the block operation
* @bio: block operation completed
- * @error: io error value
*
* This tracepoint indicates there is no further work to do on this
* block IO operation @bio.


2020-06-15 22:54:45

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] trace/events/block.h: drop kernel-doc for dropped function parameter

On 6/15/20 1:22 PM, Randy Dunlap wrote:
> From: Randy Dunlap <[email protected]>
>
> Fix kernel-doc warning: the parameter was removed, so also remove
> the kernel-doc notation for it.
>
> ../include/trace/events/block.h:278: warning: Excess function parameter 'error' description in 'trace_block_bio_complete'

Applied, thanks.

--
Jens Axboe