aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorChristine Chan <[email protected]>2011-11-07 19:48:27 -0800
committerThomas Gleixner <[email protected]>2011-11-23 18:49:22 +0100
commitb84d435cc228e87951f3bbabf6cc4a5f25d5fb16 (patch)
tree4a43e7224c49f1ef9b3f25d38a80c29c2692b8dc /net/lapb/lapb_timer.c
parentfeac18dda25134005909e7770c77464e65608bd8 (diff)
debugobjects: Extend to assert that an object is initialized
Calling del_timer_sync() on an uninitialized timer leads to a never ending loop in lock_timer_base() that spins checking for a non-NULL timer base. Add an assertion to debugobjects to catch usage of uninitialized objects so that we can initialize timers in the del_timer_sync() path before it calls lock_timer_base(). [ [email protected]: Clarify commit message ] Signed-off-by: Christine Chan <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Cc: John Stultz <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions