Skip to contentSkip to conversation

parisc: Show unhashed hardware inventory

PATCH New Helge Deller 1 participant 1 message Jan 2, 2018 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 parisc: Show unhashed hardware inventory

Fixes ad67b74d2469d9b8 ("printk: hash addresses printed with %p")
arch/parisc/kernel/drivers.c +1 -1
index d8f77358e2ba..29b99b8964aa 100644
@@ -870,7 +870,7 @@ static void print_parisc_device(struct parisc_device *dev)
 	static int count;
 
 	print_pa_hwpath(dev, hw_path);
-	printk(KERN_INFO "%d. %s at 0x%p [%s] { %d, 0x%x, 0x%.3x, 0x%.5x }",
+	printk(KERN_INFO "%d. %s at 0x%px [%s] { %d, 0x%x, 0x%.3x, 0x%.5x }",
 		++count, dev->name, (void*) dev->hpa.start, hw_path, dev->id.hw_type,
 		dev->id.hversion_rev, dev->id.hversion, dev->id.sversion);