Re: [PATCH] Documentation/sparse.txt: document context annotationsfor lock checking

From: Christopher Li
Date: Fri Oct 19 2012 - 18:14:18 EST

On Thu, Oct 18, 2012 at 7:27 AM, Ed Cashin <ecashin@xxxxxxxxxx> wrote:
> 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@xxxxxxxxxx>

Signed-off-by: Christopher Li <sparse@xxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at