]> 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, 5 Oct 2011 00:42:34 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 06:31:54 +0000 (17:31 +1100)
commitc691d234cca9a45ea33ae825b3060cea673fe348
tree8c9e2b1e320314eed52eeb1f9712e4011e843dee
parent11bed24d2af17b8bfd3312a43dc45b900d8b7cdb
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