parisc: hppb.c - fix printk format strings
Fix those warnings: drivers/parisc/hppb.c: In function 'hppb_probe': drivers/parisc/hppb.c:65: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'resource_size_t' drivers/parisc/hppb.c:77: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'resource_size_t' drivers/parisc/hppb.c:77: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'resource_size_t' Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
c43962321e
commit
cae5a39f34
@ -62,7 +62,8 @@ static int hppb_probe(struct parisc_device *dev)
|
|||||||
}
|
}
|
||||||
card = card->next;
|
card = card->next;
|
||||||
}
|
}
|
||||||
printk(KERN_INFO "Found GeckoBoa at 0x%x\n", dev->hpa.start);
|
printk(KERN_INFO "Found GeckoBoa at 0x%llx\n",
|
||||||
|
(unsigned long long) dev->hpa.start);
|
||||||
|
|
||||||
card->hpa = dev->hpa.start;
|
card->hpa = dev->hpa.start;
|
||||||
card->mmio_region.name = "HP-PB Bus";
|
card->mmio_region.name = "HP-PB Bus";
|
||||||
@ -73,8 +74,10 @@ static int hppb_probe(struct parisc_device *dev)
|
|||||||
|
|
||||||
status = ccio_request_resource(dev, &card->mmio_region);
|
status = ccio_request_resource(dev, &card->mmio_region);
|
||||||
if(status < 0) {
|
if(status < 0) {
|
||||||
printk(KERN_ERR "%s: failed to claim HP-PB bus space (%08x, %08x)\n",
|
printk(KERN_ERR "%s: failed to claim HP-PB "
|
||||||
__FILE__, card->mmio_region.start, card->mmio_region.end);
|
"bus space (0x%08llx, 0x%08llx)\n",
|
||||||
|
__FILE__, (unsigned long long) card->mmio_region.start,
|
||||||
|
(unsigned long long) card->mmio_region.end);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user