All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'?
@ 2026-10-27  3:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-27  3:45 UTC (permalink / raw)
  To: Sudeep Holla; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-27  3:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27  3:45 [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'? kernel test robot

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.