]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
parisc: Fix HP SDC hpa address output
authorHelge Deller <deller@gmx.de>
Thu, 15 Nov 2018 20:06:34 +0000 (21:06 +0100)
committerHelge Deller <deller@gmx.de>
Mon, 10 Dec 2018 06:48:07 +0000 (07:48 +0100)
Show the hpa address of the HP SDC instead of a hashed value, e.g.:
HP SDC: HP SDC at 0xf0201000, IRQ 23 (NMI IRQ 24)

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

index 0b8a25c58d02e65865aabfceca26444c93b7aa4a..654252361653df1cb61d1ffd105d5ed4aa7fca71 100644 (file)
@@ -884,8 +884,8 @@ static int __init hp_sdc_init(void)
                        "HP SDC NMI", &hp_sdc))
                goto err2;
 
-       printk(KERN_INFO PREFIX "HP SDC at 0x%p, IRQ %d (NMI IRQ %d)\n",
-              (void *)hp_sdc.base_io, hp_sdc.irq, hp_sdc.nmi);
+       pr_info(PREFIX "HP SDC at 0x%08lx, IRQ %d (NMI IRQ %d)\n",
+              hp_sdc.base_io, hp_sdc.irq, hp_sdc.nmi);
 
        hp_sdc_status_in8();
        hp_sdc_data_in8();