]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Documentation/sparse.txt: document context annotations for lock checking
authorEd Cashin <ecashin@coraid.com>
Fri, 9 Nov 2012 03:05:11 +0000 (14:05 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:33 +0000 (15:17 +1100)
commit598e5b7e15bb555c05dd347e0d3e62f332ea7fac
tree07f81d9e9461cc77db718a5bcada7bb785c13a86
parent0716a9ab2226d82ecebdb3d8fe10147b2dc874ff
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