Commit 875baf3c authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[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: default avatarAndrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent ff86ba59
...@@ -656,7 +656,7 @@ qla24xx_write_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr, ...@@ -656,7 +656,7 @@ qla24xx_write_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr,
"Unable to burst-write optrom segment " "Unable to burst-write optrom segment "
"(%x/%x/%llx).\n", ret, "(%x/%x/%llx).\n", ret,
flash_data_to_access_addr(faddr), flash_data_to_access_addr(faddr),
optrom_dma); (unsigned long long)optrom_dma);
qla_printk(KERN_WARNING, ha, qla_printk(KERN_WARNING, ha,
"Reverting to slow-write.\n"); "Reverting to slow-write.\n");
...@@ -1853,7 +1853,8 @@ qla25xx_read_optrom_data(struct scsi_qla_host *ha, uint8_t *buf, ...@@ -1853,7 +1853,8 @@ qla25xx_read_optrom_data(struct scsi_qla_host *ha, uint8_t *buf,
qla_printk(KERN_WARNING, ha, qla_printk(KERN_WARNING, ha,
"Unable to burst-read optrom segment " "Unable to burst-read optrom segment "
"(%x/%x/%llx).\n", rval, "(%x/%x/%llx).\n", rval,
flash_data_to_access_addr(faddr), optrom_dma); flash_data_to_access_addr(faddr),
(unsigned long long)optrom_dma);
qla_printk(KERN_WARNING, ha, qla_printk(KERN_WARNING, ha,
"Reverting to slow-read.\n"); "Reverting to slow-read.\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment