diff options
author | Johann Felix Soden <johfel@users.sourceforge.net> | 2008-08-22 14:25:10 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-09-09 14:43:38 -0400 |
commit | 53bc88701be91e7f631ad31418b32392aa952e9b (patch) | |
tree | 9b8530303fb13fab447ea3c4dba4a7853222ce39 | |
parent | 4ca8a7726fb0e8094fdb56f2ae2d69fcf9254eae (diff) |
PCI: Fix printk warnings in setup-bus.c
Again, the cleaned up code introduced some resource warnings:
drivers/pci/setup-bus.c: In function 'pci_bus_dump_res':
drivers/pci/setup-bus.c:542: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'resource_size_t'
drivers/pci/setup-bus.c:542: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'resource_size_t'
Fix those up too.
Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r-- | drivers/pci/setup-bus.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 82634a2f1b1d..c6ea4e97e8b6 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -539,7 +539,11 @@ static void pci_bus_dump_res(struct pci_bus *bus) | |||
539 | if (!res) | 539 | if (!res) |
540 | continue; | 540 | continue; |
541 | 541 | ||
542 | printk(KERN_INFO "bus: %02x index %x %s: [%llx, %llx]\n", bus->number, i, (res->flags & IORESOURCE_IO)? "io port":"mmio", res->start, res->end); | 542 | printk(KERN_INFO "bus: %02x index %x %s: [%llx, %llx]\n", |
543 | bus->number, i, | ||
544 | (res->flags & IORESOURCE_IO) ? "io port" : "mmio", | ||
545 | (unsigned long long) res->start, | ||
546 | (unsigned long long) res->end); | ||
543 | } | 547 | } |
544 | } | 548 | } |
545 | 549 | ||