Skip to content

Commit 57d1b53

Browse files
rddunlapJens Axboe
authored andcommitted
block_dev: fix kernel-doc in new functions
Fix kernel-doc in new functions: Error(mmotm-2008-1002-1617//fs/block_dev.c:895): duplicate section name 'Description' Error(mmotm-2008-1002-1617//fs/block_dev.c:924): duplicate section name 'Description' Warning(mmotm-2008-1002-1617//fs/block_dev.c:1282): No description found for parameter 'pathname' Signed-off-by: Randy Dunlap <[email protected]> cc: Andrew Patterson <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent af56394 commit 57d1b53

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

fs/block_dev.c

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -879,9 +879,7 @@ static void flush_disk(struct block_device *bdev)
879879
}
880880

881881
/**
882-
* check_disk_size_change - checks for disk size change and adjusts
883-
* bdev size.
884-
*
882+
* check_disk_size_change - checks for disk size change and adjusts bdev size.
885883
* @disk: struct gendisk to check
886884
* @bdev: struct bdev to adjust.
887885
*
@@ -908,9 +906,7 @@ void check_disk_size_change(struct gendisk *disk, struct block_device *bdev)
908906
EXPORT_SYMBOL(check_disk_size_change);
909907

910908
/**
911-
* revalidate_disk - wrapper for lower-level driver's revalidate_disk
912-
* call-back
913-
*
909+
* revalidate_disk - wrapper for lower-level driver's revalidate_disk call-back
914910
* @disk: struct gendisk to be revalidated
915911
*
916912
* This routine is a wrapper for lower-level driver's revalidate_disk
@@ -1266,10 +1262,9 @@ EXPORT_SYMBOL(ioctl_by_bdev);
12661262

12671263
/**
12681264
* lookup_bdev - lookup a struct block_device by name
1265+
* @pathname: special file representing the block device
12691266
*
1270-
* @path: special file representing the block device
1271-
*
1272-
* Get a reference to the blockdevice at @path in the current
1267+
* Get a reference to the blockdevice at @pathname in the current
12731268
* namespace if possible and return it. Return ERR_PTR(error)
12741269
* otherwise.
12751270
*/

0 commit comments

Comments
 (0)