@@ -1571,7 +1571,9 @@ ATTRIBUTE_GROUPS(versions);/* Each compatible listed below must have descriptor associated with it */staticconststructof_device_idscmi_of_match[]={+#ifdef CONFIG_MAILBOX{.compatible="arm,scmi",.data=&scmi_mailbox_desc},+#endif#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY{.compatible="arm,scmi-smc",.data=&scmi_smc_desc},#endif
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
@@ -1571,7 +1571,9 @@ ATTRIBUTE_GROUPS(versions);/* Each compatible listed below must have descriptor associated with it */staticconststructof_device_idscmi_of_match[]={+#ifdef CONFIG_MAILBOX{.compatible="arm,scmi",.data=&scmi_mailbox_desc},+#endif#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY{.compatible="arm,scmi-smc",.data=&scmi_smc_desc},#endif
Likely related to "firmware: arm_scmi: fix deps arm-smccc-discovery
deps in Kconfig"
Thanks for the fix.
Reviewed-by: Etienne Carriere <redacted>
Regards,
Etienne
quoted
aarch64-linux-ld: drivers/firmware/arm_scmi/driver.o:(.rodata+0x1e0):
undefined reference to `scmi_mailbox_desc'
Fix the error by adding CONFIG_MAILBOX dependency for scmi_mailbox_desc.
Cc: Etienne Carriere <redacted>
Cc: Cristian Marussi <cristian.marussi@arm.com>
Reported-by: kernel test robot <redacted>
Signed-off-by: Sudeep Holla <redacted>
---
drivers/firmware/arm_scmi/driver.c | 2 ++
1 file changed, 2 insertions(+)
@@ -1571,7 +1571,9 @@ ATTRIBUTE_GROUPS(versions);/* Each compatible listed below must have descriptor associated with it */staticconststructof_device_idscmi_of_match[]={+#ifdef CONFIG_MAILBOX{.compatible="arm,scmi",.data=&scmi_mailbox_desc},+#endif#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY{.compatible="arm,scmi-smc",.data=&scmi_smc_desc},#endif--
Likely related to "firmware: arm_scmi: fix deps arm-smccc-discovery
deps in Kconfig"
Thanks for the fix.
Reviewed-by: Etienne Carriere <redacted>
Thanks, indeed your patch triggered this but not it's fault though. That's
why though I initially thought of squashing this into your patch, decided
against it as this build fix must have been there once we abstracted
the mailbox transport. Hence I posted it as a separate patch.
--
Regards,
Sudeep
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
On Thu, 3 Jun 2021 08:26:31 +0100, Sudeep Holla wrote:
0day CI kernel test robot reported following build error with randconfig
aarch64-linux-ld: drivers/firmware/arm_scmi/driver.o:(.rodata+0x1e0):
undefined reference to `scmi_mailbox_desc'
Fix the error by adding CONFIG_MAILBOX dependency for scmi_mailbox_desc.