From: Andy Whitcroft <apw@canonical.com>
To: Joe Perches <joe@perches.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Ross Zwisler <ross.zwisler@linux.intel.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: [Acked] [PATCH] checkpatch: Add __pmem to $Sparse annotations
Date: Fri, 7 Aug 2015 21:37:32 +0100 [thread overview]
Message-ID: <20150807203732.GD10173@bark> (raw)
In-Reply-To: <1438976674.2322.50.camel@perches.com>
On Fri, Aug 07, 2015 at 12:44:34PM -0700, Joe Perches wrote:
> 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>
> ---
> scripts/checkpatch.pl | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index fd8e502..6362ec3 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|
Acked-by: Andy Whitcroft <apw@canonical.com>
-apw
prev parent reply other threads:[~2015-08-07 20:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 19:44 [PATCH] checkpatch: Add __pmem to $Sparse annotations Joe Perches
2015-08-07 19:55 ` Ross Zwisler
2015-08-07 20:37 ` Andy Whitcroft [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150807203732.GD10173@bark \
--to=apw@canonical.com \
--cc=akpm@linux-foundation.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ross.zwisler@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox