]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Kobject: make kobject apis more robust in handling NULL pointers
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 18 Jan 2007 20:23:51 +0000 (12:23 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:10 +0000 (10:37 -0800)
commit31b9025aa0f89b392077db3f87458fd46bcc4f58
treed91abfcfd10f78813011c8a33d176d492c368c66
parent5331be090567d9335476f876b2d85427cd7c4426
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: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject.c