[PATCH] Kobject: provide better warning messages when people do stupid things
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 21:17:13 +0000 (13:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 21:42:59 +0000 (13:42 -0800)
commitdcd0da002122a70fe1c625c0ca9f58c95aa33ebe
tree5560cdc189fa3ae7eeeabb71ef5c5a2b26d4909e
parent4f2928d0a439553f0288d9483faf417430629635
[PATCH] Kobject: provide better warning messages when people do stupid things

Now that kobject_add() is used more than kobject_register() the kernel
wasn't always letting people know that they were doing something wrong.
This change fixes this.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject.c