Skip to contentSkip to conversation

parport_gsc: fix printk format warning

PATCH In review Alexander Beregalov 1 participant 1 message May 18, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 parport_gsc: fix printk format warning

Fix this build warning:
drivers/parport/parport_gsc.c:356: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t'

---
 drivers/parport/parport_gsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/parport/parport_gsc.c +1 -1
index 6531db2..51d4866 100644
@@ -353,7 +353,7 @@ static int __devinit parport_init_chip(struct parisc_device *dev)
 
 	if (!dev->irq) {
 		printk(KERN_WARNING "IRQ not found for parallel device at 0x%lx\n",
-			dev->hpa.start);
+			(unsigned long)dev->hpa.start);
 		return -ENODEV;
 	}
 
Signature · 1 line
1.6.2.5