Skip to content

Commit 325dcfd

Browse files
rddunlaptorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 3a2c5da commit 325dcfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/hotplug/acpiphp_ibm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
204204
err("APLS evaluation failed: 0x%08x\n", stat);
205205
return -ENODEV;
206206
} else if (!rc) {
207-
err("APLS method failed: 0x%08lx\n", rc);
207+
err("APLS method failed: 0x%08llx\n", rc);
208208
return -ERANGE;
209209
}
210210
return 0;

0 commit comments

Comments
 (0)