From: Andrew Vasquez Date: Thu, 17 Jan 2008 17:02:09 +0000 (-0800) Subject: [SCSI] qla2xxx: Fix for 32-bit platforms with 64-bit resources. X-Git-Tag: v2.6.25-rc1~1230^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3776541d8a46347a4924353a192c6ce4a3d04e2e;p=pandora-kernel.git [SCSI] qla2xxx: Fix for 32-bit platforms with 64-bit resources. The driver stores the contents of PCI resources into unsigned long's before ioremapping. This breaks on 32-bit platforms which support 64-bit MMIO resources. Correct code by removing the temporary variables used during MMIO PIO mapping and using resource_size_t where applicable. Also correct a small typo in a printk() where the wrong region number was displayed. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed