Commit 54507b51 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

checkpatch: add __pmem to $Sparse annotations

commit 61031952 ("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: default avatarJoe Perches <joe@perches.com>
Reviewed-by: default avatarRoss Zwisler <ross.zwisler@linux.intel.com>
Acked-by: default avatarAndy Whitcroft <apw@canonical.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4e5d56bd
...@@ -264,6 +264,7 @@ our $Sparse = qr{ ...@@ -264,6 +264,7 @@ our $Sparse = qr{
__kernel| __kernel|
__force| __force|
__iomem| __iomem|
__pmem|
__must_check| __must_check|
__init_refok| __init_refok|
__kprobes| __kprobes|
......
Markdown is supported
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