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 <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Closes: lore.kernel.org/r/202309060957.vfl0mUur-lkp@intel.com Cc: Christoph Hellwig <hch@lst.de> Cc: Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20230926005232.23666-1-rdunlap@infradead.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
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)