Skip to content

Commit a578a25

Browse files
rddunlapaxboe
authored andcommitted
block: fix kernel-doc for disk_force_media_change()
Drop one function parameter's kernel-doc comment since the parameter was removed. This prevents a kernel-doc warning: block/disk-events.c:300: warning: Excess function parameter 'events' description in 'disk_force_media_change' Fixes: ab6860f ("block: simplify the disk_force_media_change interface") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: lore.kernel.org/r/[email protected] Cc: Christoph Hellwig <[email protected]> Cc: Jens Axboe <[email protected]> Cc: [email protected] Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent e599ed7 commit a578a25

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

block/disk-events.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ EXPORT_SYMBOL(disk_check_media_change);
290290
/**
291291
* disk_force_media_change - force a media change event
292292
* @disk: the disk which will raise the event
293-
* @events: the events to raise
294293
*
295294
* Should be called when the media changes for @disk. Generates a uevent
296295
* and attempts to free all dentries and inodes and invalidates all block

0 commit comments

Comments
 (0)