Home
last modified time | relevance | path

Searched hist:"526 f7c79" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dsd.h526f7c79 Tue Sep 28 13:48:47 CDT 2010 Martin K. Petersen <martin.petersen@oracle.com> [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 <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
526f7c79 Tue Sep 28 13:48:47 CDT 2010 Martin K. Petersen <martin.petersen@oracle.com> [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 <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
H A Dsd.c526f7c79 Tue Sep 28 13:48:47 CDT 2010 Martin K. Petersen <martin.petersen@oracle.com> [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 <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
526f7c79 Tue Sep 28 13:48:47 CDT 2010 Martin K. Petersen <martin.petersen@oracle.com> [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 <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>