]> 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>
Thu, 29 Sep 2011 06:07:53 +0000 (16:07 +1000)
commit6657b1367d91e1709474b8aced1e416320dee264
treeb2a43cb80fe3e5900129ceec98d8b96ade9752ed
parent9d54c2ee1e3e54252ac2af107b93a9a657b33e36
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