]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: sysfs: fix printk warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 13 Nov 2010 16:44:33 +0000 (08:44 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 15 Nov 2010 17:34:44 +0000 (09:34 -0800)
commit6b6d14820de294bdf312b443b300372a0739c689
tree2cda9188eda2221b9402845ca81fe22d09c8e725
parent829bb35e4c202d267f276bc2aed54d1b82b0cd2a
PCI: sysfs: fix printk warnings

Cast pci_resource_start() and pci_resource_len() to u64 for printk.

drivers/pci/pci-sysfs.c:753: warning: format '%16Lx' expects type 'long long unsigned int', but argument 9 has type 'resource_size_t'
drivers/pci/pci-sysfs.c:753: warning: format '%16Lx' expects type 'long long unsigned int', but argument 10 has type 'resource_size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-sysfs.c