]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Documentation/sparse.txt: document context annotations for lock checking
authorEd Cashin <ecashin@coraid.com>
Sat, 3 Nov 2012 00:43:07 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Nov 2012 04:15:35 +0000 (15:15 +1100)
commit5031ebd05e586386b3c2683c5d34192161d4d052
treee84df00e7fd446f4b39266436fa3c39718d0a0dd
parentaa8affc5a44b71f2f7aef234af17af994cadb17c
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