aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_sup.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-10-16 17:28:20 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-18 08:28:10 -0400
commit875baf3cbc0f11009ef5ca33c78210d265c8d779 (patch)
treea52bebd999e7834149baeb3291884d29c875596c /drivers/scsi/qla2xxx/qla_sup.c
parentff86ba59fbf6f0fd56b367b99b66dc8fb8ad61e7 (diff)
[SCSI] qla2xxx: printk fixes
drivers/scsi/qla2xxx/qla_sup.c: In function 'qla24xx_write_flash_data': drivers/scsi/qla2xxx/qla_sup.c:655: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'dma_addr_t' drivers/scsi/qla2xxx/qla_sup.c: In function 'qla25xx_read_optrom_data': drivers/scsi/qla2xxx/qla_sup.c:1853: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'dma_addr_t' Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_sup.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_sup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c
index 40b059fc1981..6670ad585f28 100644
--- a/drivers/scsi/qla2xxx/qla_sup.c
+++ b/drivers/scsi/qla2xxx/qla_sup.c
@@ -656,7 +656,7 @@ qla24xx_write_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr,
656 "Unable to burst-write optrom segment " 656 "Unable to burst-write optrom segment "
657 "(%x/%x/%llx).\n", ret, 657 "(%x/%x/%llx).\n", ret,
658 flash_data_to_access_addr(faddr), 658 flash_data_to_access_addr(faddr),
659 optrom_dma); 659 (unsigned long long)optrom_dma);
660 qla_printk(KERN_WARNING, ha, 660 qla_printk(KERN_WARNING, ha,
661 "Reverting to slow-write.\n"); 661 "Reverting to slow-write.\n");
662 662
@@ -1853,7 +1853,8 @@ qla25xx_read_optrom_data(struct scsi_qla_host *ha, uint8_t *buf,
1853 qla_printk(KERN_WARNING, ha, 1853 qla_printk(KERN_WARNING, ha,
1854 "Unable to burst-read optrom segment " 1854 "Unable to burst-read optrom segment "
1855 "(%x/%x/%llx).\n", rval, 1855 "(%x/%x/%llx).\n", rval,
1856 flash_data_to_access_addr(faddr), optrom_dma); 1856 flash_data_to_access_addr(faddr),
1857 (unsigned long long)optrom_dma);
1857 qla_printk(KERN_WARNING, ha, 1858 qla_printk(KERN_WARNING, ha,
1858 "Reverting to slow-read.\n"); 1859 "Reverting to slow-read.\n");
1859 1860