Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=875baf3cbc0f11009ef5ca33c78210d265c8d779
Commit:     875baf3cbc0f11009ef5ca33c78210d265c8d779
Parent:     ff86ba59fbf6f0fd56b367b99b66dc8fb8ad61e7
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 14:28:20 2007 -0700
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Thu Oct 18 08:28:10 2007 -0400

    [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 <[EMAIL PROTECTED]>
    Acked-by: Andrew Vasquez <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/qla2xxx/qla_sup.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c
index 40b059f..6670ad5 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,
                                    "Unable to burst-write optrom segment "
                                    "(%x/%x/%llx).\n", ret,
                                    flash_data_to_access_addr(faddr),
-                                   optrom_dma);
+                                   (unsigned long long)optrom_dma);
                                qla_printk(KERN_WARNING, ha,
                                    "Reverting to slow-write.\n");
 
@@ -1853,7 +1853,8 @@ qla25xx_read_optrom_data(struct scsi_qla_host *ha, 
uint8_t *buf,
                        qla_printk(KERN_WARNING, ha,
                            "Unable to burst-read optrom segment "
                            "(%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,
                            "Reverting to slow-read.\n");
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to