Re: [PATCH] scsi: wd33c93: Don't use stale scsi_pointer value
From: Martin K. Petersen
Date: Thu Oct 03 2024 - 22:09:25 EST
On Thu, 03 Oct 2024 13:29:47 +1000, Finn Thain wrote:
> A regression was introduced with commit dbb2da557a6a ("scsi: wd33c93: Move
> the SCSI pointer to private command data") which results in an oops in
> wd33c93_intr(). That commit added the scsi_pointer variable and
> initialized it from hostdata->connected. However, during selection,
> hostdata->connected is not yet valid. Fix this by getting the current
> scsi_pointer from hostdata->selecting.
>
> [...]
Applied to 6.12/scsi-fixes, thanks!
[1/1] scsi: wd33c93: Don't use stale scsi_pointer value
https://git.kernel.org/mkp/scsi/c/9023ed8d91eb
--
Martin K. Petersen Oracle Linux Engineering