aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2008-09-17 20:09:57 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-03 12:46:19 -0400
commit4a3e1ea8b2f25f962e91883be880de678bad8e3e (patch)
tree348f735f45ddf9e15b8749bcba37b5cd923b46d7 /drivers/scsi/qla2xxx
parent36d1cdcffbbb33b966d6bdd6534bb03c22b3fd0c (diff)
[SCSI] qla2xxx: fix printk format warnings
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_sup.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c
index e2432ef1ecea..90a13211717f 100644
--- a/drivers/scsi/qla2xxx/qla_sup.c
+++ b/drivers/scsi/qla2xxx/qla_sup.c
@@ -894,15 +894,17 @@ qla2xxx_flash_npiv_conf(scsi_qla_host_t *ha)
894 vid.node_name = wwn_to_u64(entry->node_name); 894 vid.node_name = wwn_to_u64(entry->node_name);
895 895
896 DEBUG2(qla_printk(KERN_DEBUG, ha, "NPIV[%02x]: wwpn=%llx " 896 DEBUG2(qla_printk(KERN_DEBUG, ha, "NPIV[%02x]: wwpn=%llx "
897 "wwnn=%llx vf_id=0x%x qos=0x%x.\n", cnt, vid.port_name, 897 "wwnn=%llx vf_id=0x%x qos=0x%x.\n", cnt,
898 vid.node_name, le16_to_cpu(entry->vf_id), 898 (unsigned long long)vid.port_name,
899 le16_to_cpu(entry->qos))); 899 (unsigned long long)vid.node_name,
900 le16_to_cpu(entry->vf_id), le16_to_cpu(entry->qos)));
900 901
901 vport = fc_vport_create(ha->host, 0, &vid); 902 vport = fc_vport_create(ha->host, 0, &vid);
902 if (!vport) 903 if (!vport)
903 qla_printk(KERN_INFO, ha, "NPIV-Config: Failed to " 904 qla_printk(KERN_INFO, ha, "NPIV-Config: Failed to "
904 "create vport [%02x]: wwpn=%llx wwnn=%llx.\n", cnt, 905 "create vport [%02x]: wwpn=%llx wwnn=%llx.\n", cnt,
905 vid.port_name, vid.node_name); 906 (unsigned long long)vid.port_name,
907 (unsigned long long)vid.node_name);
906 } 908 }
907done: 909done:
908 kfree(data); 910 kfree(data);