Messages in this thread Patch in this message | | | Date | Sat, 28 Feb 2015 02:50:27 +0800 | From | kbuild test robot <> | Subject | [PATCH peterz-queue] module: mod_tree_ops can be static |
| |
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, };
| |