Skip to content
Commit 31b9025a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Kobject: make kobject apis more robust in handling NULL pointers



It should be ok to pass in NULL for some kobject functions, so add error
checking for all exported kobject functions to be more robust.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5331be09
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment