[peterz-queue:perf/core 6/22] kernel/module.c:163:29: sparse: symbol 'mod_tree_ops' was not declared. Should it be static?

From: kbuild test robot
Date: Fri Feb 27 2015 - 13:51:21 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core
head: 2dcf36d89d58c88c81f37ec87045080d5bd8d226
commit: addc15e4e5078ee46a6b7179b44f5b37761f2cc2 [6/22] module: Optimize __module_address() using a latched RB-tree
reproduce:
# apt-get install sparse
git checkout addc15e4e5078ee46a6b7179b44f5b37761f2cc2
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> kernel/module.c:163:29: sparse: symbol 'mod_tree_ops' was not declared. Should it be static?
kernel/module.c:304:6: sparse: symbol '__module_put_and_exit' redeclared with different type (originally declared at include/linux/module.h:453) - different modifiers

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/