Thread (8 messages) flat view 8 messages, 5 authors, 2021-10-19

Re: [PATCH] scsi: sd: fix crashes in sd_resume_runtime

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-10-19 03:44:08
Also in: linux-mediatek, linux-scsi, lkml

On Fri, 15 Oct 2021 15:46:54 +0800, Miles Chen wrote:
After merging commit ed4246d37f3b ("scsi: sd: REQUEST SENSE for
BLIST_IGN_MEDIA_CHANGE devices in runtime_resume()"), I hit the
following crash on my device.

static int sd_resume_runtime(struct device *dev)
{
        struct scsi_disk *sdkp = dev_get_drvdata(dev);
        struct scsi_device *sdp = sdkp->device; // sdkp == NULL and crash

[...]
Applied to 5.15/scsi-fixes, thanks!

[1/1] scsi: sd: fix crashes in sd_resume_runtime
      https://git.kernel.org/mkp/scsi/c/85374b639229

-- 
Martin K. Petersen	Oracle Linux Engineering

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help