debugobjects: Be smarter about static objects
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 8 Nov 2011 03:48:26 +0000 (19:48 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 23 Nov 2011 17:49:22 +0000 (18:49 +0100)
commitfeac18dda25134005909e7770c77464e65608bd8
tree2c3b2d2dfe0ca8ed9f12e49da9f86ad7845bf002
parentc5e0c7825d3a14c2dfc383763393f0bcb5400aa6
debugobjects: Be smarter about static objects

Make debugobjects use the return code from the fixup function. That
allows us better diagnostics in the activate check than relying on a
WARN_ON() in the object specific code.

[ tglx@linutronix.de: Split out the debugobjects vs. the timer change ]

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Christine Chan <cschan@codeaurora.org>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1320724108-20788-2-git-send-email-sboyd@codeaurora.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
lib/debugobjects.c