]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
parisc: Fix serio address output
authorHelge Deller <deller@gmx.de>
Thu, 15 Nov 2018 20:09:59 +0000 (21:09 +0100)
committerHelge Deller <deller@gmx.de>
Mon, 10 Dec 2018 06:47:59 +0000 (07:47 +0100)
We want the hpa addresses printed in the serio modules, not some
virtual ioremap()ed address, e.g.:

 serio: gsc-ps2-keyboard port at 0xf0108000 irq 22 @ 2:0:11
 serio: gsc-ps2-mouse port at 0xf0108100 irq 22 @ 2:0:12

Signed-off-by: Helge Deller <deller@gmx.de>
drivers/input/serio/gscps2.c

index 49d8d53e50b7bd105ceeca5150dda23f2f3771d7..96f9b5397367fca2388b3186296611ae7287dec9 100644 (file)
@@ -381,9 +381,9 @@ static int __init gscps2_probe(struct parisc_device *dev)
                goto fail;
 #endif
 
-       printk(KERN_INFO "serio: %s port at 0x%p irq %d @ %s\n",
+       pr_info("serio: %s port at 0x%08lx irq %d @ %s\n",
                ps2port->port->name,
-               ps2port->addr,
+               hpa,
                ps2port->padev->irq,
                ps2port->port->phys);