[REGRESSION] soc/for-next: (build) use of undeclared identifier 'QCOM_ID_SDM850' in drivers/soc/qcom/...

KernelCI bot <[email protected]>
Newsgroups dev.linux.lists.soc
Message-ID <[email protected]>
New build issue found on soc/for-next:

---
 use of undeclared identifier 'QCOM_ID_SDM850' in drivers/soc/qcom/socinfo.o (drivers/soc/qcom/socinfo.c) [logspec:kbuild,kbuild.compiler.error]
---

Log excerpt:
=====================================================
/tmp/kci/linux/drivers/soc/qcom/socinfo.c:428:4: error: use of undeclared identifier 'QCOM_ID_SDM850'
  428 |         { qcom_board_id(SDM850) },
      |           ^~~~~~~~~~~~~~~~~~~~~
/tmp/kci/linux/drivers/soc/qcom/socinfo.c:25:27: note: expanded from macro 'qcom_board_id'
   25 | #define qcom_board_id(id) QCOM_ID_ ## id, __stringify(id)
      |                           ^~~~~~~~~~~~~~
<scratch space>:154:1: note: expanded from here
  154 | QCOM_ID_SDM850
      | ^~~~~~~~~~~~~~
/tmp/kci/linux/drivers/soc/qcom/socinfo.c:566:22: error: invalid application of 'sizeof' to an incomplete type 'const struct soc_id[]'
  566 |         for (idx = 0; idx < ARRAY_SIZE(soc_id); idx++) {
      |                             ^~~~~~~~~~~~~~~~~~
/tmp/kci/linux/include/linux/array_size.h:11:32: note: expanded from macro 'ARRAY_SIZE'
   11 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
      |                                ^~~~~
2 errors generated.

=====================================================

When fixing this issue, please attribute this report according to the
patch submission rules:

Reported-by: kernelci.org bot <[email protected]>

For complete logs and details about the environment used, see the issue
on the KernelCI dashboard:

- dashboard: https://d.kernelci.org/i/maestro:e68e98fe54e609d3bb87f71e48896fb8322e8cb0
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
- commit HEAD:  81aa917982c10b9f2cd0dd767d7af5af6057d93d

# Builds where the incident occurred:

## multi_v7_defconfig on (arm):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6a724edc54179f15da9e5450

#kernelci issue maestro:e68e98fe54e609d3bb87f71e48896fb8322e8cb0

--
This is an experimental report format. Please send feedback in!
Talk to us at [email protected]

Made with love by the KernelCI team - https://kernelci.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.