From: kbuild test robot <fengguang.wu@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild-all@01.org, Rusty Russell <rusty@rustcorp.com.au>,
linux-kernel@vger.kernel.org
Subject: [PATCH peterz-queue] module: mod_tree_ops can be static
Date: Sat, 28 Feb 2015 02:50:27 +0800 [thread overview]
Message-ID: <20150227185027.GA38984@snb> (raw)
In-Reply-To: <201502280216.kgVBPWqK%fengguang.wu@intel.com>
kernel/module.c:163:29: sparse: symbol 'mod_tree_ops' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/module.c b/kernel/module.c
index 7b12181..10fe9d1 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -160,7 +160,7 @@ mod_tree_comp(unsigned long val, struct latch_tree_node *n)
return 0;
}
-const struct latch_tree_ops mod_tree_ops = {
+static const struct latch_tree_ops mod_tree_ops = {
.less = mod_tree_less,
.comp = mod_tree_comp,
};
prev parent reply other threads:[~2015-02-27 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 18:50 [peterz-queue:perf/core 6/22] kernel/module.c:163:29: sparse: symbol 'mod_tree_ops' was not declared. Should it be static? kbuild test robot
2015-02-27 18:50 ` kbuild test robot [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=20150227185027.GA38984@snb \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rusty@rustcorp.com.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.