Thread (3 messages) flat view 3 messages, 3 authors, 2021-01-19

Re: [PATCH] [v3] block: Fix an error handling in add_partition

From: Chaitanya Kulkarni <hidden>
Date: 2021-01-19 05:02:03
Also in: lkml

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 <redacted>
Looks good.

Reviewed-by: Chaitanya Kulkarni <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help