Skip to content
Commit 11f8a7b3 authored by Ben Collins's avatar Ben Collins Committed by James Bottomley
Browse files

[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: default avatarBen Collins <ben.c@servergy.com>
Acked-by: default avatarSumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 6ad55502
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment