Hi Bin, Thanks for an patch. > -----Original Message----- > From: linux-scsi-owner@xxxxxxxxxxxxxxx <linux-scsi-owner@xxxxxxxxxxxxxxx> > On Behalf Of Ye Bin > Sent: Monday, August 24, 2020 9:05 AM > To: QLogic-Storage-Upstream@xxxxxxxxxx; jejb@xxxxxxxxxxxxx; > martin.petersen@xxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx > Cc: Ye Bin <yebin10@xxxxxxxxxx> > Subject: [PATCH] scsi: qedf: Fix null ptr reference in qedf_stag_change_work > > > Signed-off-by: Ye Bin <yebin10@xxxxxxxxxx> > --- > drivers/scsi/qedf/qedf_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c > index 39c4bdc89937..c855ff3ad232 100644 > --- a/drivers/scsi/qedf/qedf_main.c > +++ b/drivers/scsi/qedf/qedf_main.c > @@ -3874,7 +3874,7 @@ void qedf_stag_change_work(struct work_struct > *work) > container_of(work, struct qedf_ctx, stag_work.work); > > if (!qedf) { > - QEDF_ERR(&qedf->dbg_ctx, "qedf is NULL"); > + QEDF_ERR(NULL, "qedf is NULL"); > return; > } > QEDF_ERR(&qedf->dbg_ctx, "Performing software context reset.\n"); > -- > 2.25.4 Acked-by: Saurav Kashyap <skashyap@xxxxxxxxxxx>