X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fgenhd.c;h=646e1d2507c70d2ba88824c3dd84d91874ecb192;hb=1f6d6e8ebe73ba9d9d4c693f7f6f50f661dbd6e4;hp=4cd3433c99ac7d64fe05b72a1061cba01059920a;hpb=1eee21abaf54338b379b33d85b28b495292c2211;p=linux-2.6-omap-h63xx.git diff --git a/block/genhd.c b/block/genhd.c index 4cd3433c99a..646e1d2507c 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -358,7 +358,6 @@ static int blk_mangle_minor(int minor) /** * blk_alloc_devt - allocate a dev_t for a partition * @part: partition to allocate dev_t for - * @gfp_mask: memory allocation flag * @devt: out parameter for resulting dev_t * * Allocate a dev_t for block device. @@ -535,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.