]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kobject: catch kobjects that are not initialized
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Feb 2008 17:36:38 +0000 (09:36 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 20 Apr 2008 02:10:17 +0000 (19:10 -0700)
commitc1ebdae514a356c71c09035f5141d94aab5e8fe4
tree28a3a22b01e7b28b0e247a073711923169ddd528
parent3925e6fc1f774048404fdd910b0345b06c699eb4
kobject: catch kobjects that are not initialized

Add warnings to kobject_put() to catch kobjects that are cleaned up but
were never initialized to begin with.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject.c