Re: [PATCH] kobject: Improve docs for kobject_add/del

2019-04-28 Thread Greg Kroah-Hartman
On Sun, Apr 28, 2019 at 10:48:10AM +1000, Tobin C. Harding wrote: > There is currently some confusion on how to wind back > kobject_init_and_add() during the error paths in code that uses this > function. > > Add documentation to kobject_add() and kobject_del() to help clarify the > usage. > > Si

[PATCH] kobject: Improve docs for kobject_add/del

2019-04-27 Thread Tobin C. Harding
There is currently some confusion on how to wind back kobject_init_and_add() during the error paths in code that uses this function. Add documentation to kobject_add() and kobject_del() to help clarify the usage. Signed-off-by: Tobin C. Harding --- The assumption is that this is the correct usa