Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d806f01 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: fix NULL pointer dereference when aborting command"

parents 537388fc 2483c24d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3549,7 +3549,7 @@ static int ufshcd_abort(struct scsi_cmnd *cmd)

	/* Print Transfer Request of aborted task */
	dev_err(hba->dev, "%s: Device abort task at tag %d", __func__, tag);
	scsi_print_command(hba->lrb[tag].cmd);
	scsi_print_command(cmd);
	ufshcd_print_host_regs(hba);
	ufshcd_print_trs(hba, 1 << tag, true);