# \[PATCH 1/1\] asm-generic/hyperv: Add missing function prototypes per -W1 warnings

- Subsystems: Hyper-V/Azure CORE AND DRIVERS, GENERIC INCLUDE/ASM HEADER FILES, THE REST
- Maintainers: Haiyang Zhang, Wei Liu, Dexuan Cui, Arnd Bergmann, Linus Torvalds
- Status: LANDED (a620bbaa3510 · 2021-03-11 10:12)
- Landed in mainline as a620bbaa3510 on 2021-03-11.
- List: linux-hyperv
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-hyperv/2021/03/6295681/t

## \[PATCH 1/1\] asm-generic/hyperv: Add missing function prototypes per -W1 warnings

- From: Michael Kelley \<hidden\>
- Date: 2021-03-10 18:49:16 
- Message: https://ratatoskr.run/linux-hyperv/2021/03/6295681.md

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

Reported-by: kernel test robot <redacted>
Signed-off-by: Michael Kelley <redacted>
---
 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

```

## Re: \[PATCH 1/1\] asm-generic/hyperv: Add missing function prototypes per -W1 warnings

- From: Wei Liu \<wei.liu@kernel.org\>
- Date: 2021-03-11 10:13:48 
- Message: https://ratatoskr.run/linux-hyperv/2021/03/6296491.md

```text
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 <redacted>
> Signed-off-by: Michael Kelley <redacted>

Applied to hyperv-next
```
