* [PATCH] make 'ignored_attributes[]' static
@ 2016-11-02 17:16 Luc Van Oostenryck
2016-11-17 10:18 ` Christopher Li
0 siblings, 1 reply; 2+ messages in thread
From: Luc Van Oostenryck @ 2016-11-02 17:16 UTC (permalink / raw)
To: linux-sparse; +Cc: Christopher Li, Luc Van Oostenryck
And so quiets a warning from sparse about an undeclared symbol
when running on its own code.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
parse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parse.c b/parse.c
index 205e1264..70b3a076 100644
--- a/parse.c
+++ b/parse.c
@@ -501,7 +501,7 @@ static struct init_keyword {
{ "__word__", NS_KEYWORD, MOD_LONG, .op = &mode_word_op },
};
-const char *ignored_attributes[] = {
+static const char *ignored_attributes[] = {
"alias",
"__alias__",
"alloc_align",
--
2.10.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] make 'ignored_attributes[]' static
2016-11-02 17:16 [PATCH] make 'ignored_attributes[]' static Luc Van Oostenryck
@ 2016-11-17 10:18 ` Christopher Li
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Li @ 2016-11-17 10:18 UTC (permalink / raw)
To: Luc Van Oostenryck; +Cc: Linux-Sparse
On Thu, Nov 3, 2016 at 1:16 AM, Luc Van Oostenryck
<luc.vanoostenryck@gmail.com> wrote:
> And so quiets a warning from sparse about an undeclared symbol
> when running on its own code.
Applied.
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-17 10:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-02 17:16 [PATCH] make 'ignored_attributes[]' static Luc Van Oostenryck
2016-11-17 10:18 ` Christopher Li
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).