From: Joe Perches Date: Wed, 9 Sep 2015 22:37:55 +0000 (-0700) Subject: checkpatch: add __pmem to $Sparse annotations X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=54507b5183cc4f8e4f1a58a312e1f30c130658b7;p=deliverable%2Flinux.git checkpatch: add __pmem to $Sparse annotations commit 61031952f4c8 ("arch, x86: pmem api for ensuring durability of persistent memory updates") added a new __pmem annotation for sparse verification. Add __pmem to the $Sparse variable so checkpatch can appropriately ignore uses of this attribute too. Signed-off-by: Joe Perches Reviewed-by: Ross Zwisler Acked-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index ba47dab3d091..97ee377c4f51 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -264,6 +264,7 @@ our $Sparse = qr{ __kernel| __force| __iomem| + __pmem| __must_check| __init_refok| __kprobes|