diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-12-18 01:03:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 02:15:23 +0100 |
commit | 6e9766317fd51a33a32c65d2b76a6bde3227bbbd (patch) | |
tree | e861925fb8752a7964ac18ba5a617f3296c30a46 /drivers/block/aoe/aoechr.c | |
parent | linux/compiler.h: add __must_hold macro for functions called with a lock held (diff) | |
download | linux-6e9766317fd51a33a32c65d2b76a6bde3227bbbd.tar.xz linux-6e9766317fd51a33a32c65d2b76a6bde3227bbbd.zip |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoechr.c')
0 files changed, 0 insertions, 0 deletions