Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+6 -3
+6 -3
drivers/parisc/hppb.c
··· 62 62 } 63 63 card = card->next; 64 64 } 65 - printk(KERN_INFO "Found GeckoBoa at 0x%x\n", dev->hpa.start); 65 + printk(KERN_INFO "Found GeckoBoa at 0x%llx\n", 66 + (unsigned long long) dev->hpa.start); 66 67 67 68 card->hpa = dev->hpa.start; 68 69 card->mmio_region.name = "HP-PB Bus"; ··· 74 73 75 74 status = ccio_request_resource(dev, &card->mmio_region); 76 75 if(status < 0) { 77 - printk(KERN_ERR "%s: failed to claim HP-PB bus space (%08x, %08x)\n", 78 - __FILE__, card->mmio_region.start, card->mmio_region.end); 76 + printk(KERN_ERR "%s: failed to claim HP-PB " 77 + "bus space (0x%08llx, 0x%08llx)\n", 78 + __FILE__, (unsigned long long) card->mmio_region.start, 79 + (unsigned long long) card->mmio_region.end); 79 80 } 80 81 81 82 return 0;