PCI: Fix warning in setup-res.c on 32-bit platforms with 64-bit resources
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 10 Dec 2007 06:32:16 +0000 (17:32 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:25 +0000 (15:04 -0800)
commit6015fbefc4dfe1706b64d33c256878b8296d1470
tree6aa617715163f3f27c3276138009f38197d76fb0
parentc40a22e0ce5eb400f27449e59e43d021bee58b8d
PCI: Fix warning in setup-res.c on 32-bit platforms with 64-bit resources

This adds appropriate casts to avoid a warning and print the correct
values in pr_debug.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/setup-res.c