summaryrefslogtreecommitdiff
path: root/drivers/firmware/arm_scmi/virtio.c
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2021-08-16 15:16:09 +0100
committerSudeep Holla <sudeep.holla@arm.com>2021-09-20 11:50:57 +0100
commitc90521a0e94f00a2e40889b7d7d99f1494fa9381 (patch)
tree1eff06b79916729bacc2372c5c7ce3df4b1bb88e /drivers/firmware/arm_scmi/virtio.c
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff)
downloadlinux-next-c90521a0e94f00a2e40889b7d7d99f1494fa9381.tar.gz
firmware: arm_scmi: Fix virtio transport Kconfig dependency
ARM_SCMI_TRANSPORT_VIRTIO is a 'bool' Kconfig used to include support for the SCMI virtio transport inside the core SCMI stack; a bare transport dependency attached here to this option, though, cannot be properly propagated to the parent ARM_SCMI_PROTOCOL option and, as a result, it is currently possible to configure a Kernel where SCMI core is builtin and includes support for virtio while VirtIO core is =m. This allowed combination breaks linking: ARM_SCMI_PROTOCOL=y ARM_SCMI_TRANSPORT_VIRTIO=y VIRTIO=m Bind the dependency in ARM_SCMI_TRANSPORT_VIRTIO to the chosen kind of compilation of ARM_SCMI_PROTOCOL. Link: https://lore.kernel.org/r/20210816141609.41751-1-cristian.marussi@arm.com Fixes: 46abe13b5e3d ("firmware: arm_scmi: Add virtio transport") Reported-by: kernel test robot <lkp@intel.com> Suggested-by: Arnd Bergmann <arnd@kernel.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/virtio.c')
0 files changed, 0 insertions, 0 deletions