Commit e6a73ab1 authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

drivers/ata/libata-eh.c: fix printk warning

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 <jeff@garzik.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent ce54d161
...@@ -231,7 +231,8 @@ void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, ...@@ -231,7 +231,8 @@ void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset,
if (offset < 0) if (offset < 0)
ata_port_desc(ap, "%s %s%llu@0x%llx", name, type, len, start); ata_port_desc(ap, "%s %s%llu@0x%llx", name, type, len, start);
else 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 */ #endif /* CONFIG_PCI */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment