[PATCH] kobject: quiet errors in kobject_add
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 20 May 2006 22:00:30 +0000 (15:00 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 21 May 2006 19:59:21 +0000 (12:59 -0700)
commitae57a856429dd932c547530df1b234eb7e642297
tree32745a24ad396bacc044793e984601dafc971776
parentb3969e5831adac133b286600e74214e1ae42ec05
[PATCH] kobject: quiet errors in kobject_add

People don't like released kernels yelling at them, no matter how real the
error might be.  So only report it if CONFIG_KOBJECT_DEBUG is enabled.

Sent on request of Andrew Morton.

(akpm: should bring this back post-2.6.17)

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib/kobject.c