]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite25cd062b16ed1d41a157aec5a108abd6ff2e9f9
tree2cda9188eda2221b9402845ca81fe22d09c8e725
parent82e3e767c21fef2b1b38868e20eb4e470a1e38e3
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