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

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

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-09-07 06:54:37

On Mon, Sep 06, 2021 at 05:01:12PM +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.

Signed-off-by: Ming Lei <redacted>
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help