[SCSI] qla2xxx: fix compile warning for printk format
authorFUJITA Tomonori <tomof@acm.org>
Sat, 16 Feb 2008 06:24:41 +0000 (15:24 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 18 Feb 2008 14:57:17 +0000 (08:57 -0600)
scsi/qla2xxx/qla_dfs.c: In function 'qla2x00_dfs_fce_show':
scsi/qla2xxx/qla_dfs.c:26: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'uint64_t'

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_dfs.c

index 1479c60441c86f0730966b456273f787c7c0c28c..2cd899bfe84bb17086a6314991503c8befc42c24 100644 (file)
@@ -23,7 +23,7 @@ qla2x00_dfs_fce_show(struct seq_file *s, void *unused)
        mutex_lock(&ha->fce_mutex);
 
        seq_printf(s, "FCE Trace Buffer\n");
-       seq_printf(s, "In Pointer = %llx\n\n", ha->fce_wr);
+       seq_printf(s, "In Pointer = %llx\n\n", (unsigned long long)ha->fce_wr);
        seq_printf(s, "Base = %llx\n\n", (unsigned long long) ha->fce_dma);
        seq_printf(s, "FCE Enable Registers\n");
        seq_printf(s, "%08x %08x %08x %08x %08x %08x\n",