]> 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>
Fri, 26 Oct 2012 04:05:39 +0000 (15:05 +1100)
commit8919dcf2aff677c25a1afa08579bfc431e8ad693
tree3e529098a1b4664a5a399d1d9ed7d2d37008b25b
parentce0916bb99354fd9668a4014a1ee81874a306d1f
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