From: Martin K. Petersen Date: Tue, 28 Sep 2010 18:48:47 +0000 (-0400) Subject: [SCSI] sd: Fix overflow with big physical blocks X-Git-Tag: v2.6.37-rc1~159^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526f7c7950bbf1271e59177d70d74438c2ef96de;p=pandora-kernel.git [SCSI] sd: Fix overflow with big physical blocks The hw_sector_size variable could overflow if a device reported huge physical blocks. Switch to the more accurate physical_block_size terminology and make sure we use an unsigned int to match the range permitted by READ CAPACITY(16). Signed-off-by: Martin K. Petersen Signed-off-by: James Bottomley --- Reading git-diff-tree failed