mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 05:59:10 +08:00
scsi: qla2xxx: Fix warning during port_name debug print
This patch fixes following smatch warning: drivers/scsi/qla2xxx/qla_iocb.c:2622 qla2x00_els_dcmd2_sp_done() error: '%pC' expects argument of type 'struct clk*', argument 8 has type 'uchar[]' Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
7ac0c332f9
commit
c2dd0e1d9d
@@ -2620,7 +2620,7 @@ qla2x00_els_dcmd2_sp_done(void *ptr, int res)
|
||||
struct scsi_qla_host *vha = sp->vha;
|
||||
|
||||
ql_dbg(ql_dbg_io + ql_dbg_disc, vha, 0x3072,
|
||||
"%s ELS hdl=%x, portid=%06x done %8pC\n",
|
||||
"%s ELS hdl=%x, portid=%06x done %8phC\n",
|
||||
sp->name, sp->handle, fcport->d_id.b24, fcport->port_name);
|
||||
|
||||
complete(&lio->u.els_plogi.comp);
|
||||
|
||||
Reference in New Issue
Block a user