* [PATCH] firmware: arm_scmi: fix build failure if ARM_SCMI_PROTOCOL=y VIRTIO=m
@ 2021-09-12 21:27 Adam Borowski
2021-09-13 8:55 ` Cristian Marussi
0 siblings, 1 reply; 3+ messages in thread
From: Adam Borowski @ 2021-09-12 21:27 UTC (permalink / raw)
To: Sudeep Holla, Cristian Marussi, linux-arm-kernel; +Cc: Adam Borowski
A "bool" for a subfeature doesn't force the dependency by itself.
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
---
drivers/firmware/arm_scmi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/arm_scmi/Kconfig b/drivers/firmware/arm_scmi/Kconfig
index 7f4d2435503b..cca557bc625b 100644
--- a/drivers/firmware/arm_scmi/Kconfig
+++ b/drivers/firmware/arm_scmi/Kconfig
@@ -68,7 +68,7 @@ config ARM_SCMI_TRANSPORT_SMC
config ARM_SCMI_TRANSPORT_VIRTIO
bool "SCMI transport based on VirtIO"
- depends on VIRTIO
+ depends on VIRTIO >= ARM_SCMI_PROTOCOL
select ARM_SCMI_HAVE_TRANSPORT
select ARM_SCMI_HAVE_MSG
help
--
2.33.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] firmware: arm_scmi: fix build failure if ARM_SCMI_PROTOCOL=y VIRTIO=m
2021-09-12 21:27 [PATCH] firmware: arm_scmi: fix build failure if ARM_SCMI_PROTOCOL=y VIRTIO=m Adam Borowski
@ 2021-09-13 8:55 ` Cristian Marussi
2021-09-13 10:35 ` Sudeep Holla
0 siblings, 1 reply; 3+ messages in thread
From: Cristian Marussi @ 2021-09-13 8:55 UTC (permalink / raw)
To: Adam Borowski; +Cc: Sudeep Holla, linux-arm-kernel
On Sun, Sep 12, 2021 at 11:27:25PM +0200, Adam Borowski wrote:
> A "bool" for a subfeature doesn't force the dependency by itself.
>
> Signed-off-by: Adam Borowski <kilobyte@angband.pl>
> ---
Hi Adam,
thanks for this fix, BUT it was already spotted by LKP
https://lore.kernel.org/linux-mm/202108151230.lcHk2Pkk-lkp@intel.com/
and a proposed fix is already queued on sudeep/for-next/scmi.
https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/commit/?h=for-next/scmi&id=7b4262378924a9985bc4c35ea015bd48dfe57792
I supposed it will picked up with the next 5.15 scmi fixes.
Probably the original distribution list was a bit odd since I replied to
the above original LKP mail recipients, apologies for this.
Thanks,
Cristian
> drivers/firmware/arm_scmi/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/arm_scmi/Kconfig b/drivers/firmware/arm_scmi/Kconfig
> index 7f4d2435503b..cca557bc625b 100644
> --- a/drivers/firmware/arm_scmi/Kconfig
> +++ b/drivers/firmware/arm_scmi/Kconfig
> @@ -68,7 +68,7 @@ config ARM_SCMI_TRANSPORT_SMC
>
> config ARM_SCMI_TRANSPORT_VIRTIO
> bool "SCMI transport based on VirtIO"
> - depends on VIRTIO
> + depends on VIRTIO >= ARM_SCMI_PROTOCOL
> select ARM_SCMI_HAVE_TRANSPORT
> select ARM_SCMI_HAVE_MSG
> help
> --
> 2.33.0
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] firmware: arm_scmi: fix build failure if ARM_SCMI_PROTOCOL=y VIRTIO=m
2021-09-13 8:55 ` Cristian Marussi
@ 2021-09-13 10:35 ` Sudeep Holla
0 siblings, 0 replies; 3+ messages in thread
From: Sudeep Holla @ 2021-09-13 10:35 UTC (permalink / raw)
To: Cristian Marussi; +Cc: Adam Borowski, Sudeep Holla, linux-arm-kernel
On Mon, Sep 13, 2021 at 09:55:01AM +0100, Cristian Marussi wrote:
> On Sun, Sep 12, 2021 at 11:27:25PM +0200, Adam Borowski wrote:
> > A "bool" for a subfeature doesn't force the dependency by itself.
> >
> > Signed-off-by: Adam Borowski <kilobyte@angband.pl>
> > ---
>
> Hi Adam,
>
> thanks for this fix, BUT it was already spotted by LKP
>
> https://lore.kernel.org/linux-mm/202108151230.lcHk2Pkk-lkp@intel.com/
>
> and a proposed fix is already queued on sudeep/for-next/scmi.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/commit/?h=for-next/scmi&id=7b4262378924a9985bc4c35ea015bd48dfe57792
>
> I supposed it will picked up with the next 5.15 scmi fixes.
>
My bad, I must have replied as applied to that, on it now.
> Probably the original distribution list was a bit odd since I replied to
> the above original LKP mail recipients, apologies for this.
>
Could be for searching, but the tools grabbed the patch correctly without
any issues.
--
Regards,
Sudeep
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-13 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-12 21:27 [PATCH] firmware: arm_scmi: fix build failure if ARM_SCMI_PROTOCOL=y VIRTIO=m Adam Borowski
2021-09-13 8:55 ` Cristian Marussi
2021-09-13 10:35 ` Sudeep Holla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox