diff options
author | Martin K. Petersen <[email protected]> | 2010-09-28 14:48:47 -0400 |
---|---|---|
committer | James Bottomley <[email protected]> | 2010-10-11 17:33:20 -0500 |
commit | 526f7c7950bbf1271e59177d70d74438c2ef96de (patch) | |
tree | 5e8550890534e73a307e53707d68ccbedaac62af /tools/perf/scripts/python/syscall-counts.py | |
parent | 3e51d3c924aea8a1f1372e6c615b0a37b528121d (diff) |
[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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions