2021-10-06 06:21:59

by Jürgen Groß

[permalink] [raw]
Subject: [PATCH] x86/pvh: add prototype for xen_pvh_init()

xen_pvh_init() is lacking a prototype in a header, add it.

Reported-by: kernel test robot <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
---
arch/x86/include/asm/xen/hypervisor.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h
index ff4b52e37e60..4957f59deb40 100644
--- a/arch/x86/include/asm/xen/hypervisor.h
+++ b/arch/x86/include/asm/xen/hypervisor.h
@@ -62,4 +62,8 @@ void xen_arch_register_cpu(int num);
void xen_arch_unregister_cpu(int num);
#endif

+#ifdef CONFIG_PVH
+void __init xen_pvh_init(struct boot_params *boot_params);
+#endif
+
#endif /* _ASM_X86_XEN_HYPERVISOR_H */
--
2.26.2


2021-10-06 12:48:23

by Boris Ostrovsky

[permalink] [raw]
Subject: Re: [PATCH] x86/pvh: add prototype for xen_pvh_init()


On 10/6/21 2:19 AM, Juergen Gross wrote:
> xen_pvh_init() is lacking a prototype in a header, add it.
>
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: Juergen Gross <[email protected]>



Reviewed-by: Boris Ostrovsky <[email protected]>

2021-10-28 12:16:01

by Boris Ostrovsky

[permalink] [raw]
Subject: Re: [PATCH] x86/pvh: add prototype for xen_pvh_init()


On 10/6/21 8:43 AM, Boris Ostrovsky wrote:
> On 10/6/21 2:19 AM, Juergen Gross wrote:
>> xen_pvh_init() is lacking a prototype in a header, add it.
>>
>> Reported-by: kernel test robot <[email protected]>
>> Signed-off-by: Juergen Gross <[email protected]>
>
>
> Reviewed-by: Boris Ostrovsky <[email protected]>


Applied to for-linus-5.16


-boris