Skip to content

Commit 04903c0

Browse files
committed
parisc: Show unhashed HPA of Dino chip
Fixes: ad67b74 ("printk: hash addresses printed with %p") Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 63b2c37 commit 04903c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/parisc/dino.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ static void dino_mask_irq(struct irq_data *d)
303303
struct dino_device *dino_dev = irq_data_get_irq_chip_data(d);
304304
int local_irq = gsc_find_local_irq(d->irq, dino_dev->global_irq, DINO_LOCAL_IRQS);
305305

306-
DBG(KERN_WARNING "%s(0x%p, %d)\n", __func__, dino_dev, d->irq);
306+
DBG(KERN_WARNING "%s(0x%px, %d)\n", __func__, dino_dev, d->irq);
307307

308308
/* Clear the matching bit in the IMR register */
309309
dino_dev->imr &= ~(DINO_MASK_IRQ(local_irq));
@@ -316,7 +316,7 @@ static void dino_unmask_irq(struct irq_data *d)
316316
int local_irq = gsc_find_local_irq(d->irq, dino_dev->global_irq, DINO_LOCAL_IRQS);
317317
u32 tmp;
318318

319-
DBG(KERN_WARNING "%s(0x%p, %d)\n", __func__, dino_dev, d->irq);
319+
DBG(KERN_WARNING "%s(0x%px, %d)\n", __func__, dino_dev, d->irq);
320320

321321
/*
322322
** clear pending IRQ bits
@@ -396,7 +396,7 @@ static irqreturn_t dino_isr(int irq, void *intr_dev)
396396
if (mask) {
397397
if (--ilr_loop > 0)
398398
goto ilr_again;
399-
printk(KERN_ERR "Dino 0x%p: stuck interrupt %d\n",
399+
printk(KERN_ERR "Dino 0x%px: stuck interrupt %d\n",
400400
dino_dev->hba.base_addr, mask);
401401
return IRQ_NONE;
402402
}
@@ -553,7 +553,7 @@ dino_fixup_bus(struct pci_bus *bus)
553553
struct pci_dev *dev;
554554
struct dino_device *dino_dev = DINO_DEV(parisc_walk_tree(bus->bridge));
555555

556-
DBG(KERN_WARNING "%s(0x%p) bus %d platform_data 0x%p\n",
556+
DBG(KERN_WARNING "%s(0x%px) bus %d platform_data 0x%px\n",
557557
__func__, bus, bus->busn_res.start,
558558
bus->bridge->platform_data);
559559

@@ -854,7 +854,7 @@ static int __init dino_common_init(struct parisc_device *dev,
854854
res->flags = IORESOURCE_IO; /* do not mark it busy ! */
855855
if (request_resource(&ioport_resource, res) < 0) {
856856
printk(KERN_ERR "%s: request I/O Port region failed "
857-
"0x%lx/%lx (hpa 0x%p)\n",
857+
"0x%lx/%lx (hpa 0x%px)\n",
858858
name, (unsigned long)res->start, (unsigned long)res->end,
859859
dino_dev->hba.base_addr);
860860
return 1;

0 commit comments

Comments
 (0)