]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block: Ensure physical block size is unsigned int
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Oct 2010 19:18:03 +0000 (21:18 +0200)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:39:59 +0000 (23:39 +0100)
commit97d388bb0a4d7e5acc7274645382adac50260096
tree38dc058e144e33bcc97c0ff58d25084f87569ea5
parent512ac859f60d61374783e276f8fb7861a9d1d0b9
block: Ensure physical block size is unsigned int

commit 892b6f90db81cccb723d5d92f4fddc2d68b206e1 upstream.

Physical block size was declared unsigned int to accomodate the maximum
size reported by READ CAPACITY(16).  Make sure we use the right type in
the related functions.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
block/blk-settings.c
include/linux/blkdev.h