summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-10-16 07:46:23 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-10-17 08:46:57 +0200
commit496aa8a98f5ab22ced46be5dc2087cdf3d029bd7 (patch)
tree5c4335ca12bbc8f93f7630c2ef0733973099cd17 /block
parent80a4b58e36b63d7b0b592beb1bd6410aadeeb63c (diff)
downloadblackbird-op-linux-496aa8a98f5ab22ced46be5dc2087cdf3d029bd7.tar.gz
blackbird-op-linux-496aa8a98f5ab22ced46be5dc2087cdf3d029bd7.zip
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>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c5
-rw-r--r--block/genhd.c2
2 files changed, 4 insertions, 3 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,
}
/**
- * part_round_stats() - Round off the performance stats on a struct
- * disk_stats.
+ * part_round_stats() - Round off the performance stats on a struct disk_stats.
+ * @cpu: cpu number for stats access
+ * @part: target partition
*
* The average IO queue length and utilisation statistics are maintained
* 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)
/**
* get_gendisk - get partitioning information for a given device
* @devt: device to get partitioning information for
- * @part: returned partition index
+ * @partno: returned partition index
*
* This function gets the structure containing partitioning
* information for the given device @devt.
OpenPOWER on IntegriCloud