diff options
| author | Daniel Palmer <[email protected]> | 2024-10-03 03:29:47 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-10-04 01:48:08 +0000 |
| commit | 9023ed8d91eb1fcc93e64dc4962f7412b1c4cbec (patch) | |
| tree | 007e9dc1c27269e1782b2619f8bcf6882ea32c48 /rust/helpers/workqueue.c | |
| parent | scsi: fnic: Move flush_work initialization out of if block (diff) | |
| download | kernel-9023ed8d91eb1fcc93e64dc4962f7412b1c4cbec.tar.gz kernel-9023ed8d91eb1fcc93e64dc4962f7412b1c4cbec.zip | |
scsi: wd33c93: Don't use stale scsi_pointer value
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.
Cc: Daniel Palmer <[email protected]>
Cc: Michael Schmitz <[email protected]>
Cc: [email protected]
Fixes: dbb2da557a6a ("scsi: wd33c93: Move the SCSI pointer to private command data")
Signed-off-by: Daniel Palmer <[email protected]>
Co-developed-by: Finn Thain <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Link: https://lore.kernel.org/r/09e11a0a54e6aa2a88bd214526d305aaf018f523.1727926187.git.fthain@linux-m68k.org
Reviewed-by: Michael Schmitz <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
