lkml.org 
[lkml]   [2015]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[peterz-queue:perf/core 6/22] kernel/module.c:163:29: sparse: symbol 'mod_tree_ops' was not declared. Should it be static?
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


\
 
 \ /
  Last update: 2015-02-27 20:01    [W:0.030 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site