The patch titled serial: fix printk format specifiers for struct uart_port::iobase has been added to the -mm tree. Its filename is serial-fix-printk-format-specifiers-for-struct-uart_port-iobase.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: serial: fix printk format specifiers for struct uart_port::iobase From: Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> struct uart_port::iobase is unsigned long, so use %lx as printk format specifier. Signed-off-by: Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- diff -puN drivers/serial/8250.c~serial-fix-printk-format-specifiers-for-struct-uart_port-iobase drivers/serial/8250.c --- a/drivers/serial/8250.c~serial-fix-printk-format-specifiers-for-struct-uart_port-iobase +++ a/drivers/serial/8250.c @@ -1089,7 +1089,7 @@ static void autoconfig(struct uart_8250_ if (!up->port.iobase && !up->port.mapbase && !up->port.membase) return; - DEBUG_AUTOCONF("ttyS%d: autoconf (0x%04x, 0x%p): ", + DEBUG_AUTOCONF("ttyS%d: autoconf (0x%04lx, 0x%p): ", serial_index(&up->port), up->port.iobase, up->port.membase); /* diff -puN drivers/serial/8250_pci.c~serial-fix-printk-format-specifiers-for-struct-uart_port-iobase drivers/serial/8250_pci.c --- a/drivers/serial/8250_pci.c~serial-fix-printk-format-specifiers-for-struct-uart_port-iobase +++ a/drivers/serial/8250_pci.c @@ -2383,7 +2383,7 @@ pciserial_init_ports(struct pci_dev *dev break; #ifdef SERIAL_DEBUG_PCI - printk(KERN_DEBUG "Setup PCI port: port %x, irq %d, type %d\n", + printk(KERN_DEBUG "Setup PCI port: port %lx, irq %d, type %d\n", serial_port.iobase, serial_port.irq, serial_port.iotype); #endif _ Patches currently in -mm which might be from buytenh@xxxxxxxxxxxxxx are linux-next.patch serial-fix-printk-format-specifiers-for-struct-uart_port-iobase.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html