From: kernel test robot <lkp@intel.com>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Thu, 18 Sep 2025 11:07:13 +0800 [thread overview]
Message-ID: <202509181041.CWM2tG5i-lkp@intel.com> (raw)
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
reply other threads:[~2025-09-18 3:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202509181041.CWM2tG5i-lkp@intel.com \
--to=lkp@intel.com \
--cc=jpoimboe@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox