From: kernel test robot <lkp@intel.com>
To: Siva Reddy Kallam <siva.kallam@broadcom.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Leon Romanovsky <leon@kernel.org>,
Usman Ansari <usman.ansari@broadcom.com>
Subject: [rdma-rdma:wip/leon-for-next 38/54] drivers/infiniband/hw/bng_re/bng_fw.c:278:2: error: call to undeclared function 'prefetch'; ISO C99 and later do not support implicit function declarations
Date: Tue, 25 Nov 2025 02:51:44 +0800 [thread overview]
Message-ID: <202511250215.VMVtdDPm-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/leon-for-next
head: 4022c7b6342a4d9a97e1e974e27efca95e79ed20
commit: 23669ca628b3c39dc3cc43a5b4b93b4b5ab4d58c [38/54] RDMA/bng_re: Add infrastructure for enabling Firmware channel
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20251125/202511250215.VMVtdDPm-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/202511250215.VMVtdDPm-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/202511250215.VMVtdDPm-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/infiniband/hw/bng_re/bng_fw.c:278:2: error: call to undeclared function 'prefetch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
278 | prefetch(bng_re_get_qe(hwq, sw_cons, NULL));
| ^
1 error generated.
vim +/prefetch +278 drivers/infiniband/hw/bng_re/bng_fw.c
266
267 static irqreturn_t bng_re_creq_irq(int irq, void *dev_instance)
268 {
269 struct bng_re_rcfw *rcfw = dev_instance;
270 struct bng_re_creq_ctx *creq;
271 struct bng_re_hwq *hwq;
272 u32 sw_cons;
273
274 creq = &rcfw->creq;
275 hwq = &creq->hwq;
276 /* Prefetch the CREQ element */
277 sw_cons = HWQ_CMP(hwq->cons, hwq);
> 278 prefetch(bng_re_get_qe(hwq, sw_cons, NULL));
279
280 tasklet_schedule(&creq->creq_tasklet);
281
282 return IRQ_HANDLED;
283 }
284
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-11-24 18:52 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=202511250215.VMVtdDPm-lkp@intel.com \
--to=lkp@intel.com \
--cc=leon@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=siva.kallam@broadcom.com \
--cc=usman.ansari@broadcom.com \
/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