[SCSI] megaraid: Use resource_size_t for PCI resources, not long
Ben Collins authored
commit 11f8a7b3

 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: 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>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
9ddfb780