Thread (4 messages) 4 messages, 4 authors, 2021-09-14

Re: [PATCH] scsi: sd: free 'scsi_disk' device via put_device

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-09-14 03:44:46

On Mon, 6 Sep 2021 17:01:12 +0800, Ming Lei wrote:
Once the device is initialized via device_initialize(), it should be
freed via put_device, so fix it. Meantime get the parent before adding
device, the release handler can work as expected always.
Applied to 5.15/scsi-fixes, thanks!

[1/1] scsi: sd: free 'scsi_disk' device via put_device
      https://git.kernel.org/mkp/scsi/c/265dfe8ebbab

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help