2021-03-10 18:50:03

by Michael Kelley (LINUX)

[permalink] [raw]
Subject: [PATCH 1/1] asm-generic/hyperv: Add missing function prototypes per -W1 warnings

Add two function prototypes for -W1 warnings generated by the
kernel test robot.

Reported-by: kernel test robot <[email protected]>
Signed-off-by: Michael Kelley <[email protected]>
---
include/asm-generic/mshyperv.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h
index 69e7fe0..2d1b6cd 100644
--- a/include/asm-generic/mshyperv.h
+++ b/include/asm-generic/mshyperv.h
@@ -94,6 +94,8 @@ static inline void vmbus_signal_eom(struct hv_message *msg, u32 old_msg_type)

void hv_setup_vmbus_handler(void (*handler)(void));
void hv_remove_vmbus_handler(void);
+void hv_setup_stimer0_handler(void (*handler)(void));
+void hv_remove_stimer0_handler(void);

void hv_setup_kexec_handler(void (*handler)(void));
void hv_remove_kexec_handler(void);
--
1.8.3.1


2021-03-11 10:15:16

by Wei Liu

[permalink] [raw]
Subject: Re: [PATCH 1/1] asm-generic/hyperv: Add missing function prototypes per -W1 warnings

On Wed, Mar 10, 2021 at 10:47:49AM -0800, Michael Kelley wrote:
> Add two function prototypes for -W1 warnings generated by the
> kernel test robot.
>
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: Michael Kelley <[email protected]>

Applied to hyperv-next