Messages in this thread | | | From | Stephen Boyd <> | Subject | [PATCHv2 0/3] Catching del_timer_sync() on uninitialized timers | Date | Mon, 7 Nov 2011 19:48:25 -0800 |
| |
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(-)
-- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
| |