diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-10-16 01:46:23 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-17 02:46:57 -0400 |
commit | 496aa8a98f5ab22ced46be5dc2087cdf3d029bd7 (patch) | |
tree | 5c4335ca12bbc8f93f7630c2ef0733973099cd17 | |
parent | 80a4b58e36b63d7b0b592beb1bd6410aadeeb63c (diff) |
block: fix current kernel-doc warnings
Fix block kernel-doc warnings:
Warning(linux-2.6.27-git4//fs/block_dev.c:1272): No description found for parameter 'path'
Warning(linux-2.6.27-git4//block/blk-core.c:1021): No description found for parameter 'cpu'
Warning(linux-2.6.27-git4//block/blk-core.c:1021): No description found for parameter 'part'
Warning(/var/linsrc/linux-2.6.27-git4//block/genhd.c:544): No description found for parameter 'partno'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r-- | block/blk-core.c | 5 | ||||
-rw-r--r-- | block/genhd.c | 2 | ||||
-rw-r--r-- | fs/block_dev.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 91532f2d2fa7..8517264eb71e 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1018,8 +1018,9 @@ static void part_round_stats_single(int cpu, struct hd_struct *part, | |||
1018 | } | 1018 | } |
1019 | 1019 | ||
1020 | /** | 1020 | /** |
1021 | * part_round_stats() - Round off the performance stats on a struct | 1021 | * part_round_stats() - Round off the performance stats on a struct disk_stats. |
1022 | * disk_stats. | 1022 | * @cpu: cpu number for stats access |
1023 | * @part: target partition | ||
1023 | * | 1024 | * |
1024 | * The average IO queue length and utilisation statistics are maintained | 1025 | * The average IO queue length and utilisation statistics are maintained |
1025 | * by observing the current state of the queue length and the amount of | 1026 | * by observing the current state of the queue length and the amount of |
diff --git a/block/genhd.c b/block/genhd.c index b8defae2ec03..646e1d2507c7 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -534,7 +534,7 @@ void unlink_gendisk(struct gendisk *disk) | |||
534 | /** | 534 | /** |
535 | * get_gendisk - get partitioning information for a given device | 535 | * get_gendisk - get partitioning information for a given device |
536 | * @devt: device to get partitioning information for | 536 | * @devt: device to get partitioning information for |
537 | * @part: returned partition index | 537 | * @partno: returned partition index |
538 | * | 538 | * |
539 | * This function gets the structure containing partitioning | 539 | * This function gets the structure containing partitioning |
540 | * information for the given device @devt. | 540 | * information for the given device @devt. |
diff --git a/fs/block_dev.c b/fs/block_dev.c index d84f0469a016..218408eed1bb 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c | |||
@@ -1262,7 +1262,7 @@ EXPORT_SYMBOL(ioctl_by_bdev); | |||
1262 | 1262 | ||
1263 | /** | 1263 | /** |
1264 | * lookup_bdev - lookup a struct block_device by name | 1264 | * lookup_bdev - lookup a struct block_device by name |
1265 | * @pathname: special file representing the block device | 1265 | * @path: special file representing the block device |
1266 | * | 1266 | * |
1267 | * Get a reference to the blockdevice at @pathname in the current | 1267 | * Get a reference to the blockdevice at @pathname in the current |
1268 | * namespace if possible and return it. Return ERR_PTR(error) | 1268 | * namespace if possible and return it. Return ERR_PTR(error) |