]> www.infradead.org Git - users/jedix/linux-maple.git/commit
checkpatch: add __pmem to $Sparse annotations
authorJoe Perches <joe@perches.com>
Wed, 9 Sep 2015 22:37:55 +0000 (15:37 -0700)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:52 +0000 (12:19 -0500)
commit9c119a9f04d174af32ca1038eb60f2df8fa828fa
treee2236e4cb9216df4422396e3f2880edfec83f24c
parent3eb07ae7915031efa673b6333c3531bcb21a8bf9
checkpatch: add __pmem to $Sparse annotations

Orabug: 22913653

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 <joe@perches.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Acked-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 54507b5183cc4f8e4f1a58a312e1f30c130658b7)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
scripts/checkpatch.pl