]> 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>
Mon, 7 Nov 2011 02:40:21 +0000 (13:40 +1100)
commit52b5d1fa59a0c1ea1ac14c1f9bce4ddfd803522d
tree82d957600b518e3bce338f8f14b4e5ae87a05011
parent231241c0b4b457a7f4aa48934620936e1ab88b63
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