On Sun, Apr 28, 2019 at 1:57 AM Tobin C. Harding wrote:
>
> Function kobject_init_and_add() is currently misused in a number of
> places in the kernel. On error return kobject_put() must be called but
> is at times not.
>
> Make the function documentation more explicit about calling
> kobject_put
Function kobject_init_and_add() is currently misused in a number of
places in the kernel. On error return kobject_put() must be called but
is at times not.
Make the function documentation more explicit about calling
kobject_put() in the error path.
Signed-off-by: Tobin C. Harding
---
lib/kobje
2 matches
Mail list logo