]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add __pmem to $Sparse annotations
authorJoe Perches <joe@perches.com>
Wed, 9 Sep 2015 22:37:55 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commitb3765b66d7e144f14ae5542ec6e28eff8fadc9db
tree9ea9add7a2f47c53eb71d063fbc6d7b7cbc8ee4e
parent4b09bf29b2163e4374d30f31b44bd6ea6b6646cb
checkpatch: add __pmem to $Sparse annotations

commit 66517b9e3434 ("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>
scripts/checkpatch.pl