Skip to contentSkip to conversation

ioc4_serial: fix printk format warnings

PATCH New Randy Dunlap 1 participant 1 message Sep 5, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioc4_serial: fix printk format warnings

From: Randy Dunlap <[email protected]>

ia64:
drivers/serial/ioc4_serial.c:943: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'long long unsigned int'

---
 drivers/serial/ioc4_serial.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/serial/ioc4_serial.c +1 -1
@@ -930,7 +930,7 @@ static void handle_dma_error_intr(void *
 
 	if (readl(&port->ip_mem->pci_err_addr_l.raw) & IOC4_PCI_ERR_ADDR_VLD) {
 		printk(KERN_ERR
-			"PCI error address is 0x%lx, "
+			"PCI error address is 0x%llx, "
 				"master is serial port %c %s\n",
 		     (((uint64_t)readl(&port->ip_mem->pci_err_addr_h)
 							 << 32)

---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/