Unverified Commit cf6205aa authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12473 scsi: wd33c93: Don't use stale scsi_pointer value

parents 31ea5bb4 671f9ee9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -831,7 +831,7 @@ wd33c93_intr(struct Scsi_Host *instance)
		/* construct an IDENTIFY message with correct disconnect bit */

		hostdata->outgoing_msg[0] = IDENTIFY(0, cmd->device->lun);
		if (scsi_pointer->phase)
		if (WD33C93_scsi_pointer(cmd)->phase)
			hostdata->outgoing_msg[0] |= 0x40;

		if (hostdata->sync_stat[cmd->device->id] == SS_FIRST) {