diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-10-23 21:14:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-23 22:48:29 -0400 |
commit | 325dcfdc81f124812a7b692354996ef7fe5b90ed (patch) | |
tree | bad267a306682a6f3e921c50a7fd0ebc5c3eb61a | |
parent | 3a2c5dad6c4d4551effba477f4f45fa5feb1293f (diff) |
Fix PCI hotplug printk format
Fix printk format warning:
drivers/pci/hotplug/acpiphp_ibm.c:207: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'long long unsigned int'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/pci/hotplug/acpiphp_ibm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c index b291ee68b4f1..881fdd2b7313 100644 --- a/drivers/pci/hotplug/acpiphp_ibm.c +++ b/drivers/pci/hotplug/acpiphp_ibm.c | |||
@@ -204,7 +204,7 @@ static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status) | |||
204 | err("APLS evaluation failed: 0x%08x\n", stat); | 204 | err("APLS evaluation failed: 0x%08x\n", stat); |
205 | return -ENODEV; | 205 | return -ENODEV; |
206 | } else if (!rc) { | 206 | } else if (!rc) { |
207 | err("APLS method failed: 0x%08lx\n", rc); | 207 | err("APLS method failed: 0x%08llx\n", rc); |
208 | return -ERANGE; | 208 | return -ERANGE; |
209 | } | 209 | } |
210 | return 0; | 210 | return 0; |