提交 19ce192c 编写于 作者: B Bart Van Assche 提交者: Martin K. Petersen

scsi: qla2xxx: Fix a format specifier

Since mcmd->sess->port_name is eight bytes long, use %8phC to format that
port name instead of %phC.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Fixes: 726b8548 ("qla2xxx: Add framework for async fabric discovery") # v4.11.
Signed-off-by: NBart Van Assche <bvanassche@acm.org>
Acked-by: NHimanshu Madhani <hmadhani@marvell.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 67eb4a60
...@@ -2391,7 +2391,7 @@ void qlt_xmit_tm_rsp(struct qla_tgt_mgmt_cmd *mcmd) ...@@ -2391,7 +2391,7 @@ void qlt_xmit_tm_rsp(struct qla_tgt_mgmt_cmd *mcmd)
case ELS_PRLO: case ELS_PRLO:
case ELS_TPRLO: case ELS_TPRLO:
ql_dbg(ql_dbg_disc, vha, 0x2106, ql_dbg(ql_dbg_disc, vha, 0x2106,
"TM response logo %phC status %#x state %#x", "TM response logo %8phC status %#x state %#x",
mcmd->sess->port_name, mcmd->fc_tm_rsp, mcmd->sess->port_name, mcmd->fc_tm_rsp,
mcmd->flags); mcmd->flags);
qlt_schedule_sess_for_deletion(mcmd->sess); qlt_schedule_sess_for_deletion(mcmd->sess);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册