]> git.karo-electronics.de Git - karo-tx-linux.git/commit
debugobjects: extend debugobjects to assert that an object is initialized
authorChristine Chan <cschan@codeaurora.org>
Mon, 24 Oct 2011 14:53:45 +0000 (01:53 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 4 Nov 2011 04:48:12 +0000 (15:48 +1100)
commit11eb1090bd5566404b1f10cdf89d4144a9776ef4
treec233f58c57ed1a5f182d72b4cdfdaeace04cbf33
parentd3327a7941288ca7aeb36696aa3ece437ca784f2
debugobjects: extend debugobjects to assert that an object is initialized

Add new check (assert_init) to make sure objects are initialized and
tracked by debugobjects.

Signed-off-by: Christine Chan <cschan@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/DocBook/debugobjects.tmpl
include/linux/debugobjects.h
lib/debugobjects.c