aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/dino.c
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-03-19 06:54:07 -0400
committerKyle McMartin <kyle@mcmartin.ca>2009-04-01 20:40:41 -0400
commitc18b4608958ff42ce9a1a55b0a6f40b714f47286 (patch)
tree3fe1b4f9c8e57ac30e938c9515f1d10b8edaeed5 /drivers/parisc/dino.c
parentf67d3c83f3f1e6523325628434bf19e5166b39b3 (diff)
parisc: drivers: fix warnings
ccio-dma.c:456: warning: overflow in implicit constant conversion ccio-dma.c:459: warning: overflow in implicit constant conversion ccio-dma.c:1032: warning: unused variable 'j' ccio-dma.c:1031: warning: unused variable 'max' ccio-dma.c:1031: warning: unused variable 'min' ccio-dma.c:1031: warning: unused variable 'avg' ccio-dma.c:1403: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' ccio-dma.c:1403: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' ccio-dma.c:1554: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' dino.c:822: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' dino.c:822: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'resource_size_t' dino.c:902: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' dino.c:902: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' asp.c:84: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' eisa.c:317: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' eisa_enumerator.c:101: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t' eisa_enumerator.c:101: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' eisa_enumerator.c:191: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t' eisa_enumerator.c:191: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'drivers/parisc/dino.c')
-rw-r--r--drivers/parisc/dino.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index bb5a1c9597c..52ae0b1d470 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -819,7 +819,9 @@ dino_bridge_init(struct dino_device *dino_dev, const char *name)
819 819
820 result = ccio_request_resource(dino_dev->hba.dev, &res[i]); 820 result = ccio_request_resource(dino_dev->hba.dev, &res[i]);
821 if (result < 0) { 821 if (result < 0) {
822 printk(KERN_ERR "%s: failed to claim PCI Bus address space %d (0x%lx-0x%lx)!\n", name, i, res[i].start, res[i].end); 822 printk(KERN_ERR "%s: failed to claim PCI Bus address "
823 "space %d (0x%lx-0x%lx)!\n", name, i,
824 (unsigned long)res[i].start, (unsigned long)res[i].end);
823 return result; 825 return result;
824 } 826 }
825 } 827 }
@@ -899,7 +901,8 @@ static int __init dino_common_init(struct parisc_device *dev,
899 if (request_resource(&ioport_resource, res) < 0) { 901 if (request_resource(&ioport_resource, res) < 0) {
900 printk(KERN_ERR "%s: request I/O Port region failed " 902 printk(KERN_ERR "%s: request I/O Port region failed "
901 "0x%lx/%lx (hpa 0x%p)\n", 903 "0x%lx/%lx (hpa 0x%p)\n",
902 name, res->start, res->end, dino_dev->hba.base_addr); 904 name, (unsigned long)res->start, (unsigned long)res->end,
905 dino_dev->hba.base_addr);
903 return 1; 906 return 1;
904 } 907 }
905 908