diff options
author | Ben Collins <ben.c@servergy.com> | 2013-09-13 12:46:44 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-07-11 13:33:58 +0100 |
commit | 30c7c6dfd9c8a42aacd6d0d61d2209bc13abbfa3 (patch) | |
tree | 01e344acdc5f0af5f58bad9d50930518fa8db06c /sound/pci/cmipci.c | |
parent | c8d446a0623a08338ea07f45eed36569d8242485 (diff) | |
download | lwn-30c7c6dfd9c8a42aacd6d0d61d2209bc13abbfa3.tar.gz lwn-30c7c6dfd9c8a42aacd6d0d61d2209bc13abbfa3.zip |
megaraid: Use resource_size_t for PCI resources, not long
commit 11f8a7b31f2140b0dc164bb484281235ffbe51d3 upstream.
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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/pci/cmipci.c')
0 files changed, 0 insertions, 0 deletions