* [jpoimboe:klp-build 12/63] drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c:269:1: warning: no previous prototype for function 'usnic_uiom_interval_tree_subtree_search'
@ 2025-09-18 3:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-18 3:07 UTC (permalink / raw)
To: Josh Poimboeuf; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux.git klp-build
head: 262d11ae2557639839ede7312ba834817615e0a8
commit: 1e0b4913420f199b3c6d2c536b849e5d79911d21 [12/63] interval_tree: Fix ITSTATIC usage for *_subtree_search()
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250918/202509181041.CWM2tG5i-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250918/202509181041.CWM2tG5i-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509181041.CWM2tG5i-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c:269:1: warning: no previous prototype for function 'usnic_uiom_interval_tree_subtree_search' [-Wmissing-prototypes]
269 | INTERVAL_TREE_DEFINE(struct usnic_uiom_interval_node, rb,
| ^
include/linux/interval_tree_generic.h:80:33: note: expanded from macro 'INTERVAL_TREE_DEFINE'
80 | ITSTATIC ITSTRUCT * \
| ^
<scratch space>:29:1: note: expanded from here
29 | usnic_uiom_interval_tree_subtree_search
| ^
drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c:269:22: note: declare 'static' if the function is not intended to be used outside of this translation unit
269 | INTERVAL_TREE_DEFINE(struct usnic_uiom_interval_node, rb,
| ^
| static
include/linux/interval_tree_generic.h:80:10: note: expanded from macro 'INTERVAL_TREE_DEFINE'
80 | ITSTATIC ITSTRUCT * \
| ^
1 warning generated.
vim +/usnic_uiom_interval_tree_subtree_search +269 drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c
e3cf00d0a87f02 Upinder Malhi 2013-09-10 268
e3cf00d0a87f02 Upinder Malhi 2013-09-10 @269 INTERVAL_TREE_DEFINE(struct usnic_uiom_interval_node, rb,
:::::: The code at line 269 was first introduced by commit
:::::: e3cf00d0a87f025db5855a43a67c67a41fa79fef IB/usnic: Add Cisco VIC low-level hardware driver
:::::: TO: Upinder Malhi <umalhi@cisco.com>
:::::: CC: Roland Dreier <roland@purestorage.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-18 3:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18 3:07 [jpoimboe:klp-build 12/63] drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c:269:1: warning: no previous prototype for function 'usnic_uiom_interval_tree_subtree_search' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox