Messages in this thread | | | From | Chaitanya Kulkarni <> | Subject | Re: [PATCH] [v3] block: Fix an error handling in add_partition | Date | Tue, 19 Jan 2021 04:48:57 +0000 |
| |
On 1/17/21 1:00 AM, Dinghao Liu wrote: > Once we have called device_initialize(), we should use put_device() to > give up the reference on error, just like what we have done on failure > of device_add(). > > Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Looks good.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
| |