Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [cris:scmi_transport_instance_handle_V1 5/5] drivers/firmware/arm_scmi/transports/optee.c:224:29: error: use of undeclared identifier 'mutexname'; did you mean 'putname'?
@ 2026-05-06  8:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-06  8:24 UTC (permalink / raw)
  To: Cristian Marussi; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cris/linux.git scmi_transport_instance_handle_V1
head:   13190d4c752c9adc3184690ccf035795be170fb9
commit: 13190d4c752c9adc3184690ccf035795be170fb9 [5/5] firmware: arm_scmi: optee: Rework transport probe sequence
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260506/202605061623.56IAmep6-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260506/202605061623.56IAmep6-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/202605061623.56IAmep6-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/firmware/arm_scmi/transports/optee.c:224:29: error: use of undeclared identifier 'mutexname'; did you mean 'putname'?
     224 |         .mtx = __MUTEX_INITIALIZER(mutexname),
         |                                    ^~~~~~~~~
         |                                    putname
   include/linux/mutex.h:83:29: note: expanded from macro '__MUTEX_INITIALIZER'
      83 |                 __DEBUG_MUTEX_INITIALIZER(lockname) \
         |                                           ^
   include/linux/mutex.h:40:14: note: expanded from macro '__DEBUG_MUTEX_INITIALIZER'
      40 |         , .magic = &lockname
         |                     ^
   include/linux/fs.h:2539:13: note: 'putname' declared here
    2539 | extern void putname(struct filename *name);
         |             ^
   1 error generated.


vim +224 drivers/firmware/arm_scmi/transports/optee.c

   222	
   223	static struct scmi_optee_suppliers scmi_transport_suppliers = {
 > 224		.mtx = __MUTEX_INITIALIZER(mutexname),
   225		.available = INIT_ERR_PTR(-EPROBE_DEFER),
   226		.th.supplier_get = scmi_optee_supplier_get,
   227		.th.supplier_put = scmi_optee_supplier_put,
   228	};
   229	

-- 
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-05-06  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06  8:24 [cris:scmi_transport_instance_handle_V1 5/5] drivers/firmware/arm_scmi/transports/optee.c:224:29: error: use of undeclared identifier 'mutexname'; did you mean 'putname'? 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