From: kernel test robot <lkp@intel.com>
To: Sudeep Holla <sudeep.holla@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [sudeep-holla:for-next/scmi/fixes 24/24] drivers/firmware/arm_scmi/driver.c:3110:23: error: implicit declaration of function 'acpi_device_hid'; did you mean 'acpi_device_handle'?
Date: Tue, 27 Oct 2026 04:45:52 +0100 [thread overview]
Message-ID: <202610270456.VaMPNPCF-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git for-next/scmi/fixes
head: 7f73b4cb4b3afff60577e5ddc532fd026b55d4e5
commit: 7f73b4cb4b3afff60577e5ddc532fd026b55d4e5 [24/24] firmware: arm_scmi: Drop redundant ACPI configuration guard
config: csky-randconfig-r2201-20261027 (https://download.01.org/0day-ci/archive/20261027/202610270456.VaMPNPCF-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 15.3.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261027/202610270456.VaMPNPCF-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/202610270456.VaMPNPCF-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/firmware/arm_scmi/driver.c: In function 'scmi_acpi_device_hid':
>> drivers/firmware/arm_scmi/driver.c:3110:23: error: implicit declaration of function 'acpi_device_hid'; did you mean 'acpi_device_handle'? [-Wimplicit-function-declaration]
3110 | return adev ? acpi_device_hid(adev) : "unknown";
| ^~~~~~~~~~~~~~~
| acpi_device_handle
>> drivers/firmware/arm_scmi/driver.c:3110:45: error: pointer/integer type mismatch in conditional expression [-Wint-conversion]
3110 | return adev ? acpi_device_hid(adev) : "unknown";
| ^
vim +3110 drivers/firmware/arm_scmi/driver.c
c3d4aed763ce4a Cristian Marussi 2023-01-18 3107
17b3cdaa7ab4e9 Sudeep Holla 2026-09-15 3108 static const char *scmi_acpi_device_hid(struct acpi_device *adev)
17b3cdaa7ab4e9 Sudeep Holla 2026-09-15 3109 {
17b3cdaa7ab4e9 Sudeep Holla 2026-09-15 @3110 return adev ? acpi_device_hid(adev) : "unknown";
17b3cdaa7ab4e9 Sudeep Holla 2026-09-15 3111 }
17b3cdaa7ab4e9 Sudeep Holla 2026-09-15 3112
:::::: The code at line 3110 was first introduced by commit
:::::: 17b3cdaa7ab4e9c4fc9b1b6816e80d9ade153272 firmware: arm_scmi: Fall back to ACPI HID when "compatible" is absent
:::::: TO: Sudeep Holla <sudeep.holla@kernel.org>
:::::: CC: Sudeep Holla <sudeep.holla@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-27 3:46 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=202610270456.VaMPNPCF-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sudeep.holla@kernel.org \
/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.