Commit f308a35f authored by Ye Bin's avatar Ye Bin Committed by Martin K. Petersen
Browse files

scsi: qedf: Fix null ptr reference in qedf_stag_change_work

parent dca93232
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3863,7 +3863,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");