]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Documentation/sparse.txt: document context annotations for lock checking
authorEd Cashin <ecashin@coraid.com>
Tue, 23 Oct 2012 02:50:41 +0000 (13:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 23 Oct 2012 03:12:03 +0000 (14:12 +1100)
commit885df2b64d3423b9b95861e48ef971820eb3eece
tree4945d5e0595e8fe02586c1c4e7865f5011ce51d6
parentd0e90c1d203cd6d4fa7901d9a7c45bbfe3fa0124
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/sparse.txt