]> 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>
Wed, 28 Sep 2011 00:49:46 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:12 +0000 (14:53 +1000)
commit9d60a3489ad36d101c9c415f04c94fd944a94f0d
tree5117aed668e9f23c08750fad5aa251e9662af5ed
parenta741bcbfbf23cca1d864243dc7b13c4620421a5a
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 <>
Documentation/DocBook/debugobjects.tmpl
include/linux/debugobjects.h
lib/debugobjects.c