From 30c7c6dfd9c8a42aacd6d0d61d2209bc13abbfa3 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Fri, 13 Sep 2013 12:46:44 -0400 Subject: [PATCH] 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 Acked-by: Sumit Saxena Signed-off-by: James Bottomley [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-format-patch failed