[PATCHv2 0/3] Catching del_timer_sync() on uninitialized timers

Stephen Boyd
2011-11-08T03:49:01Z

These are an update for previous patches sent by Christine. I've
reworked them to hopefully address Thomas' comments. The new
patch is the first patch, which tries to actually use debugobjects
code to print the warning instead of relying on users of the API
to do so (as suggested by Thomas).

Christine Chan (2):
debugobjects: Extend to assert that an object is initialized
kernel/timer.c: Use debugobjects to catch deletion of uninitialized
timers

Stephen Boyd (1):
debugobjects: Be smarter about static objects

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Christine Chan <cschan@codeaurora.org>
Cc: Andrew Morton <akpm@linux-foundation.org>

Documentation/DocBook/debugobjects.tmpl | 50 +++++++++++++++++++++++++
include/linux/debugobjects.h | 6 +++
kernel/timer.c | 62 ++++++++++++++++++++++++++++---
lib/debugobjects.c | 53 ++++++++++++++++++++++++--
4 files changed, 161 insertions(+), 10 deletions(-)