Skip to contentSkip to conversation

drivers/infiniband/hw/bng_re/bng_fw.c:278:9: error: implicit declaration of function 'prefetch'

PATCH kernel test robot 1 participant 1 message Nov 25, 2025

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore 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-allyesconfig (https://download.01.org/0day-ci/archive/20251126/[email protected]/config)
compiler: s390-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251126/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

drivers/infiniband/hw/bng_re/bng_fw.c: In function 'bng_re_creq_irq':

>> drivers/infiniband/hw/bng_re/bng_fw.c:278:9: error: implicit declaration of function 'prefetch' [-Wimplicit-function-declaration]
     278 |         prefetch(bng_re_get_qe(hwq, sw_cons, NULL));
         |         ^~~~~~~~

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

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki