summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-11-15 21:06:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 15:37:11 +0100
commit048b7d2c8a884220c7e3e107b9779bf6c01067cb (patch)
treedd81b52dbd2502da7ef5c461349757396953b0eb /drivers/input
parente7a995e699837c36fcee377f3a210fb5b61a0783 (diff)
downloadlinux-stable-048b7d2c8a884220c7e3e107b9779bf6c01067cb.tar.gz
linux-stable-048b7d2c8a884220c7e3e107b9779bf6c01067cb.tar.bz2
linux-stable-048b7d2c8a884220c7e3e107b9779bf6c01067cb.zip
parisc: Fix HP SDC hpa address output
[ Upstream commit c4bff35ca1bfba886da6223c9fed76a2b1382b8e ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/serio/hp_sdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c
index 8eef6849d066..5585823ced19 100644
--- a/drivers/input/serio/hp_sdc.c
+++ b/drivers/input/serio/hp_sdc.c
@@ -887,8 +887,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();