2024-03-12 04:18:28

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the hyperv tree

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

Caused by commit

1634df06ea12 ("mshyperv: Introduce hv_get_hypervisor_version function")

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2024-03-12 05:26:03

by Wei Liu

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the hyperv tree

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