Re: [PATCH v14 5/6] drivers/net: enable device detach on secondary
From: Andrew Rybchenko <hidden>
Date: 2018-08-12 10:51:02
From: Andrew Rybchenko <hidden>
Date: 2018-08-12 10:51:02
On 10.08.2018 03:42, Qi Zhang wrote:
With the enabling for hotplug on multi-process, it is not necessary to prevent detaching a device from a secondary process. Signed-off-by: Qi Zhang <redacted>
From the patch itself including description it is absolutely unclear why detach works and where it actually happens. Why is it OK to return 0 instead of error and that's it. Why is it necessary to call uninit at all in the case of secondary processes?