From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754017AbbHGUhg (ORCPT ); Fri, 7 Aug 2015 16:37:36 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:38635 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753805AbbHGUhe (ORCPT ); Fri, 7 Aug 2015 16:37:34 -0400 Date: Fri, 7 Aug 2015 21:37:32 +0100 From: Andy Whitcroft To: Joe Perches Cc: Andrew Morton , Ross Zwisler , LKML Subject: [Acked] [PATCH] checkpatch: Add __pmem to $Sparse annotations Message-ID: <20150807203732.GD10173@bark> References: <1438976674.2322.50.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1438976674.2322.50.camel@perches.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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