All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 20068/20451] drivers/firmware/arm_scmi/driver.c:3110:45: error: pointer/integer type mismatch in conditional expression
@ 2026-10-28 14:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-28 14:07 UTC (permalink / raw)
  To: Sudeep Holla; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   151a134a4e6ec66f69db8750c66006f5207f7a9d
commit: 7f73b4cb4b3afff60577e5ddc532fd026b55d4e5 [20068/20451] firmware: arm_scmi: Drop redundant ACPI configuration guard
config: sparc-randconfig-1000-20261028 (https://download.01.org/0day-ci/archive/20261028/202610282148.lpOpr7Kl-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610282148.lpOpr7Kl-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/202610282148.lpOpr7Kl-lkp@intel.com/

Note: the linux-next/master HEAD 151a134a4e6ec66f69db8750c66006f5207f7a9d builds fine.
      It may have been fixed somewhere.

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-28 14:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-28 14:07 [linux-next:master 20068/20451] drivers/firmware/arm_scmi/driver.c:3110:45: error: pointer/integer type mismatch in conditional expression 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.