]> 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>
Wed, 31 Oct 2012 05:50:01 +0000 (16:50 +1100)
commit7b57904f7e042b8a176274b17da7dcca81c9b702
tree913420bbba2b0f387abec2976940cd676342ae35
parent46726a7b910413dfb7f1fc8c05843f56b0462cdf
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