drivers/ata/libata-eh.c: fix printk warning
PATCH 1/4 drivers/ata/libata-eh.c: fix printk warning
From: Andrew Morton <[email protected]>
drivers/ata/libata-eh.c: In function `ata_port_pbar_desc':drivers/ata/libata-eh.c:215: warning: long long unsigned int format, long unsigned int arg (arg 4)
Cc Jeff Garzik <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/ata/libata-eh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/ata/libata-eh.c renamed from drivers/ata/libata-eh.c~drivers-ata-libata-ehc-fix-printk-warning +2 -1
@@ -213,7 +213,8 @@ void ata_port_pbar_desc(struct ata_portif (offset <0 )ata_port_desc (ap,"%s %s%llu@0x%llx" , name, type, len, start);else - ata_port_desc(ap, "%s 0x%llx", name, start + offset); +ata_port_desc (ap,"%s 0x%llx" , name, + start + (unsigned long long)offset); }#endif /* CONFIG_PCI */
_