summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/hppb.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-12 21:38:00 +0000
committerHelge Deller <deller@gmx.de>2013-02-20 22:47:24 +0100
commit3fad9b8d597f3a901fde947fc531886f685652c7 (patch)
treec5c5f91e5e8c0cd837de893b71f209c589aef55c /drivers/parisc/hppb.c
parentfbd48433e79a6439264448c8e85c4816f5b32694 (diff)
downloadtalos-obmc-linux-3fad9b8d597f3a901fde947fc531886f685652c7.tar.gz
talos-obmc-linux-3fad9b8d597f3a901fde947fc531886f685652c7.zip
drivers/parisc: Use printf extension %pR for struct resource
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/hppb.c')
-rw-r--r--drivers/parisc/hppb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/parisc/hppb.c b/drivers/parisc/hppb.c
index 815db175d427..898208e4f302 100644
--- a/drivers/parisc/hppb.c
+++ b/drivers/parisc/hppb.c
@@ -74,10 +74,8 @@ static int hppb_probe(struct parisc_device *dev)
status = ccio_request_resource(dev, &card->mmio_region);
if(status < 0) {
- printk(KERN_ERR "%s: failed to claim HP-PB "
- "bus space (0x%08llx, 0x%08llx)\n",
- __FILE__, (unsigned long long) card->mmio_region.start,
- (unsigned long long) card->mmio_region.end);
+ printk(KERN_ERR "%s: failed to claim HP-PB bus space (%pR)\n",
+ __FILE__, &card->mmio_region);
}
return 0;
OpenPOWER on IntegriCloud