diff options
author | Ben Collins <ben.c@servergy.com> | 2013-09-13 20:46:44 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-19 19:39:03 +0400 |
commit | 11f8a7b31f2140b0dc164bb484281235ffbe51d3 (patch) | |
tree | 6bef4c31f17f7d992e141b99b499807c3fd37a9a /net/lapb/lapb_timer.c | |
parent | 6ad55502c65638cad53f211e301c724fe7e64a8e (diff) | |
download | linux-11f8a7b31f2140b0dc164bb484281235ffbe51d3.tar.xz |
[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 <ben.c@servergy.com>
Acked-by: Sumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions