From: kernel test robot <lkp@intel.com>
To: Cristian Marussi <cristian.marussi@arm.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [cris:scmi_transport_instance_handle_V1 4/5] drivers/firmware/arm_scmi/transports/virtio.c:187:29: error: use of undeclared identifier 'mutexname'; did you mean 'putname'?
Date: Wed, 06 May 2026 16:24:45 +0800 [thread overview]
Message-ID: <202605061629.PXw0so2F-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/cris/linux.git scmi_transport_instance_handle_V1
head: 13190d4c752c9adc3184690ccf035795be170fb9
commit: 25da96b2ceb31392d167fcc5d252a1f26ccae5c4 [4/5] firmware: arm_scmi: virtio: Rework transport probe sequence
config: powerpc-randconfig-r073-20260506 (https://download.01.org/0day-ci/archive/20260506/202605061629.PXw0so2F-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
smatch: v0.5.0-9065-ge9cc34fd
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260506/202605061629.PXw0so2F-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/202605061629.PXw0so2F-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/firmware/arm_scmi/transports/virtio.c:187:29: error: use of undeclared identifier 'mutexname'; did you mean 'putname'?
187 | .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 +187 drivers/firmware/arm_scmi/transports/virtio.c
185
186 static struct scmi_virtio_suppliers scmi_transport_suppliers = {
> 187 .mtx = __MUTEX_INITIALIZER(mutexname),
188 .available = INIT_ERR_PTR(-EPROBE_DEFER),
189 .th.supplier_get = scmi_virtio_supplier_get,
190 .th.supplier_put = scmi_virtio_supplier_put,
191 };
192
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-05-06 8:25 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=202605061629.PXw0so2F-lkp@intel.com \
--to=lkp@intel.com \
--cc=cristian.marussi@arm.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.