aboutsummaryrefslogtreecommitdiff
path: root/kernel/Makefile
diff options
context:
space:
mode:
authorGravatar Tobin C. Harding <tobin@kernel.org> 2019-04-28 09:56:52 +1000
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2019-04-28 18:16:03 +0200
commit1fd7c3b438a2e4741435ed4d45546c03abf045b2 (patch)
tree8e15a4600d61565b3495fe0040d49f3019371881 /kernel/Makefile
parentkobject: Improve docs for kobject_add/del (diff)
downloadlinux-1fd7c3b438a2e4741435ed4d45546c03abf045b2.tar.gz
linux-1fd7c3b438a2e4741435ed4d45546c03abf045b2.tar.bz2
linux-1fd7c3b438a2e4741435ed4d45546c03abf045b2.zip
kobject: Improve doc clarity kobject_init_and_add()
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 <tobin@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions