]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Documentation/sparse.txt: document context annotations for lock checking
authorEd Cashin <ecashin@coraid.com>
Thu, 25 Oct 2012 01:15:20 +0000 (12:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 25 Oct 2012 03:14:54 +0000 (14:14 +1100)
commit269fcf2ff5d1584cc919bdabeacc9570b9e93941
tree06c51f3f3eee28a01c3a7333c314ba86576e6c2e
parent571b4214830d31e9d842e2704726145040df639e
Documentation/sparse.txt: document context annotations for lock checking

The context feature of sparse is used with the Linux kernel sources to
check for imbalanced uses of locks.  Document the annotations defined in
include/linux/compiler.h that tell sparse what to expect when a lock is
held on function entry, exit, or both.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Christopher Li <sparse@chrisli.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/sparse.txt