From: Randy Dunlap <rdunlap@infradead.org>
To: linux-sparse@vger.kernel.org, Christopher Li <sparse@chrisli.org>
Subject: sparse: add noclone as an ignored attribute
Date: Sun, 10 Feb 2013 17:49:28 -0800 [thread overview]
Message-ID: <51184E28.40909@infradead.org> (raw)
From: Randy Dunlap <rdunlap@infradead.org>
Add attribute "noclone" or "__noclone" or "__noclone__" as an
ignored attribute. Fixes this sparse warning:
arch/x86/kvm/vmx.c:6268:13: error: attribute '__noclone__': unknown attribute
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
parse.c | 3 +++
1 file changed, 3 insertions(+)
--- sparse-2013-0210.orig/parse.c
+++ sparse-2013-0210/parse.c
@@ -541,6 +541,9 @@ const char *ignored_attributes[] = {
"__naked__",
"no_instrument_function",
"__no_instrument_function__",
+ "noclone",
+ "__noclone",
+ "__noclone__",
"noinline",
"__noinline__",
"nonnull",
next reply other threads:[~2013-02-11 1:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-11 1:49 Randy Dunlap [this message]
2013-02-21 23:35 ` sparse: add noclone as an ignored attribute Christopher Li
2013-02-22 0:20 ` sparse patch v2: " Randy Dunlap
2013-02-22 0:56 ` Christopher Li
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=51184E28.40909@infradead.org \
--to=rdunlap@infradead.org \
--cc=linux-sparse@vger.kernel.org \
--cc=sparse@chrisli.org \
/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;
as well as URLs for NNTP newsgroup(s).