Skip to content
Commit 6e976631 authored by Ed L. Cashin's avatar Ed L. Cashin Committed by Linus Torvalds
Browse files

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: default avatarEd Cashin <ecashin@coraid.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Acked-by: default avatarChristopher Li <sparse@chrisli.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8529091e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment