[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <15d49b6b-3654-4cad-b770-be36a406e356@acm.org>
Date: Thu, 3 Oct 2024 09:57:10 -0700
From: Bart Van Assche <bvanassche@....org>
To: Finn Thain <fthain@...ux-m68k.org>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>
Cc: Daniel Palmer <daniel@...f.com>, Michael Schmitz <schmitzmic@...il.com>,
stable@...nel.org, linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: wd33c93: Don't use stale scsi_pointer value
On 10/2/24 8:29 PM, Finn Thain wrote:
> diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c
> index a44b60c9004a..dd1fef9226f2 100644
> --- a/drivers/scsi/wd33c93.c
> +++ b/drivers/scsi/wd33c93.c
> @@ -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) {
Reviewed-by: Bart Van Assche <bvanassche@....org>
Powered by blists - more mailing lists