Re: linux-next: build failure after merge of the hyperv tree

From: Wei Liu
Date: Tue Mar 12 2024 - 01:26:02 EST


On Tue, Mar 12, 2024 at 03:18:07PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the hyperv tree, today's linux-next build (i386 defconfig)
> failed like this:
>
> arch/x86/kernel/cpu/mshyperv.c:355:5: error: no previous prototype for 'hv_get_hypervisor_version' [-Werror=missing-prototypes]
> 355 | int hv_get_hypervisor_version(union hv_hypervisor_version_info *info)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors

We noticed this as well. A fix has been sent out. I will update the tree
shortly.

Thanks,
Wei.

>
> Caused by commit
>
> 1634df06ea12 ("mshyperv: Introduce hv_get_hypervisor_version function")
>
> I have reverted that commit for today.
>
> --
> Cheers,
> Stephen Rothwell