Re: [REGRESSION] soc/for-next: (build) use of undeclared identifier 'QCOM_ID_SDM850' in drivers/soc/qcom/...
Krzysztof Kozlowski <[email protected]>
| Newsgroups | dev.linux.lists.soc,dev.linux.lists.kernelci |
|---|---|
| Message-ID | <[email protected]> |
On 04/08/2026 23:59, KernelCI bot wrote: > 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] > --- > This was reported a month ago to Bjorn: https://lore.kernel.org/all/[email protected]/ so it seems was never fixed and branch sent to soc@ was unbuildable. > 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)) > | Best regards, Krzysztof