Re: [PATCH] scsi: sd: free 'scsi_disk' device via put_device
From: Bart Van Assche <bvanassche@acm.org> Date: 2021-09-07 00:31:00
On 9/6/21 02:01, 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.
Since we are in the middle of the merge window this is probably not the
best time to post patches. Anyway:
Reviewed-by: Bart Van Assche <bvanassche@acm.org>