From: Ben Collins Date: Fri, 13 Sep 2013 16:46:44 +0000 (-0400) Subject: [SCSI] megaraid: Use resource_size_t for PCI resources, not long X-Git-Tag: v3.14-rc1~131^2^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11f8a7b31f2140b0dc164bb484281235ffbe51d3;p=pandora-kernel.git [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 Acked-by: Sumit Saxena Signed-off-by: James Bottomley --- Reading git-diff-tree failed