Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2290f5a6 authored by Ben Collins's avatar Ben Collins Committed by Greg Kroah-Hartman
Browse files

SCSI: megaraid: Use resource_size_t for PCI resources, not long


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 avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 553a8725
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment