diff options
author | himanshu.madhani@cavium.com <himanshu.madhani@cavium.com> | 2018-01-15 20:46:49 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-17 01:34:24 -0500 |
commit | c2dd0e1d9da89fa13bc9e2aa58f2a24c9797a359 (patch) | |
tree | 4a2ded6bf582282447dc117ae920ebe9520eb264 | |
parent | 7ac0c332f96bb9688560726f5e80c097ed8de59a (diff) | |
download | linux-c2dd0e1d9da89fa13bc9e2aa58f2a24c9797a359.tar.bz2 |
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>
-rw-r--r-- | drivers/scsi/qla2xxx/qla_iocb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 14a3f6932c9c..2c6a236dff96 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -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); |