Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [xilinx-xlnx:master 1071/1090] drivers/remoteproc/amd_mbv_bram_rproc.c:129:47: error: 'dev_dbg' is defined as a function-like macro; did you mean 'dev_dbg(...)'?
@ 2026-09-27  6:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-27  6:17 UTC (permalink / raw)
  To: Ben Levinsky; +Cc: llvm, oe-kbuild-all, git, Michal Simek, Mathieu Poirier

tree:   https://github.com/Xilinx/linux-xlnx master
head:   235bd5e49f53bfea681cfd6c489ca1e0eab0b061
commit: dfff428d04b81b2cfd96007517cf9c85a38f427f [1071/1090] remoteproc: Add AMD MicroBlaze/V BRAM-based remote processor driver
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260927/202609271438.v7ChzuoE-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 78ff5215e53a117851dc6e81e793a106f1a79df8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260927/202609271438.v7ChzuoE-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/202609271438.v7ChzuoE-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/remoteproc/amd_mbv_bram_rproc.c:73:8: error: use of undeclared identifier 'rproc_mem_entry_ioremap_wc'
      73 |                                    rproc_mem_entry_ioremap_wc,
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/remoteproc/amd_mbv_bram_rproc.c:74:8: error: use of undeclared identifier 'rproc_mem_entry_iounmap'; did you mean 'rproc_mem_entry_init'?
      74 |                                    rproc_mem_entry_iounmap,
         |                                    ^~~~~~~~~~~~~~~~~~~~~~~
         |                                    rproc_mem_entry_init
   include/linux/remoteproc.h:677:1: note: 'rproc_mem_entry_init' declared here
     677 | rproc_mem_entry_init(struct device *dev,
         | ^
   drivers/remoteproc/amd_mbv_bram_rproc.c:129:2: error: call to undeclared function 'rproc_elf_load_rsc_table_optional'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     129 |         rproc_elf_load_rsc_table_optional(rproc, fw, dev_dbg,
         |         ^
   drivers/remoteproc/amd_mbv_bram_rproc.c:129:2: note: did you mean 'rproc_elf_load_rsc_table'?
   drivers/remoteproc/remoteproc_internal.h:117:5: note: 'rproc_elf_load_rsc_table' declared here
     117 | int rproc_elf_load_rsc_table(struct rproc *rproc, const struct firmware *fw);
         |     ^
>> drivers/remoteproc/amd_mbv_bram_rproc.c:129:47: error: 'dev_dbg' is defined as a function-like macro; did you mean 'dev_dbg(...)'?
     129 |         rproc_elf_load_rsc_table_optional(rproc, fw, dev_dbg,
         |                                                      ^
   include/linux/dev_printk.h:164:9: note: 'dev_dbg' defined here as a function-like macro
     164 | #define dev_dbg(dev, fmt, ...)                                          \
         |         ^
   4 errors generated.


vim +129 drivers/remoteproc/amd_mbv_bram_rproc.c

   125	
   126	static int amd_bram_rproc_parse_fw(struct rproc *rproc,
   127					   const struct firmware *fw)
   128	{
 > 129		rproc_elf_load_rsc_table_optional(rproc, fw, dev_dbg,
   130						  "no resource table found\n");
   131		return 0;
   132	}
   133	

--
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:[~2026-09-27  6:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-27  6:17 [xilinx-xlnx:master 1071/1090] drivers/remoteproc/amd_mbv_bram_rproc.c:129:47: error: 'dev_dbg' is defined as a function-like macro; did you mean 'dev_dbg(...)'? 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