提交 496aa8a9 编写于 作者: R Randy Dunlap 提交者: Jens Axboe

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: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 80a4b58e
...@@ -1018,8 +1018,9 @@ static void part_round_stats_single(int cpu, struct hd_struct *part, ...@@ -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 * part_round_stats() - Round off the performance stats on a struct disk_stats.
* disk_stats. * @cpu: cpu number for stats access
* @part: target partition
* *
* The average IO queue length and utilisation statistics are maintained * The average IO queue length and utilisation statistics are maintained
* by observing the current state of the queue length and the amount of * by observing the current state of the queue length and the amount of
......
...@@ -534,7 +534,7 @@ void unlink_gendisk(struct gendisk *disk) ...@@ -534,7 +534,7 @@ void unlink_gendisk(struct gendisk *disk)
/** /**
* get_gendisk - get partitioning information for a given device * get_gendisk - get partitioning information for a given device
* @devt: device to get partitioning information for * @devt: device to get partitioning information for
* @part: returned partition index * @partno: returned partition index
* *
* This function gets the structure containing partitioning * This function gets the structure containing partitioning
* information for the given device @devt. * information for the given device @devt.
......
...@@ -1262,7 +1262,7 @@ EXPORT_SYMBOL(ioctl_by_bdev); ...@@ -1262,7 +1262,7 @@ EXPORT_SYMBOL(ioctl_by_bdev);
/** /**
* lookup_bdev - lookup a struct block_device by name * lookup_bdev - lookup a struct block_device by name
* @pathname: special file representing the block device * @path: special file representing the block device
* *
* Get a reference to the blockdevice at @pathname in the current * Get a reference to the blockdevice at @pathname in the current
* namespace if possible and return it. Return ERR_PTR(error) * namespace if possible and return it. Return ERR_PTR(error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册