The correct format specifier for printing a resource_size_t is %pa. Use it to avoid warninings. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/serial/serial_ns16550_pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/serial/serial_ns16550_pci.c b/drivers/serial/serial_ns16550_pci.c index 392a2810d8..c29cfc5a75 100644 --- a/drivers/serial/serial_ns16550_pci.c +++ b/drivers/serial/serial_ns16550_pci.c @@ -3670,9 +3670,9 @@ pciserial_init_ports(struct pci_dev *dev, const struct pciserial_board *board) res = &uart.resource; - dev_dbg(&dev->dev, "setup PCI %s console @ 0x%llx-0x%llx\n", + dev_dbg(&dev->dev, "setup PCI %s console @ 0x%pa-0x%pa\n", res->flags & IORESOURCE_MEM ? "MMIO" : "IO port", - res->start, res->end); + &res->start, &res->end); ns16550_dev = device_alloc("ns16550_serial", DEVICE_ID_DYNAMIC); ns16550_dev->platform_data = uart.pdata; @@ -3683,9 +3683,9 @@ pciserial_init_ports(struct pci_dev *dev, const struct pciserial_board *board) rc = platform_device_register(ns16550_dev); if (rc < 0) { - dev_err(&dev->dev, "couldn't register PCI %s console @0x%llx: %s\n", + dev_err(&dev->dev, "couldn't register PCI %s console @0x%pa: %s\n", res->flags & IORESOURCE_MEM ? "MMIO" : "IO port", - res->start, strerror(-rc)); + &res->start, strerror(-rc)); break; } -- 2.26.0.rc2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox