Documentation/sparse.txt: document context annotations for lock checking
authorEd Cashin <ecashin@coraid.com>
Tue, 18 Dec 2012 00:03:25 +0000 (16:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:23 +0000 (17:15 -0800)
commit6e9766317fd51a33a32c65d2b76a6bde3227bbbd
treee861925fb8752a7964ac18ba5a617f3296c30a46
parent8529091e8e2ae25e0f4003086f619765ff255e4b
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/sparse.txt