diff options
author | Ben Collins <[email protected]> | 2013-09-13 12:46:44 -0400 |
---|---|---|
committer | James Bottomley <[email protected]> | 2013-12-19 07:39:03 -0800 |
commit | 11f8a7b31f2140b0dc164bb484281235ffbe51d3 (patch) | |
tree | 6bef4c31f17f7d992e141b99b499807c3fd37a9a /lib/test-string_helpers.c | |
parent | 6ad55502c65638cad53f211e301c724fe7e64a8e (diff) |
[SCSI] megaraid: Use resource_size_t for PCI resources, not long
The assumption that sizeof(long) >= sizeof(resource_size_t) can lead to
truncation of the PCI resource address, meaning this driver didn't work
on 32-bit systems with 64-bit PCI adressing ranges.
Signed-off-by: Ben Collins <[email protected]>
Acked-by: Sumit Saxena <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions