[1/1] asm-generic/hyperv: Add missing function prototypes per -W1 warnings
diff mbox series

Message ID 1615402069-39462-1-git-send-email-mikelley@microsoft.com
State Accepted
Commit a620bbaa3510a6f14f6643bf232390ad1c821c80
Headers show
Series
  • [1/1] asm-generic/hyperv: Add missing function prototypes per -W1 warnings
Related show

Commit Message

Michael Kelley March 10, 2021, 6:47 p.m. UTC
Add two function prototypes for -W1 warnings generated by the
kernel test robot.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
---
 include/asm-generic/mshyperv.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Wei Liu March 11, 2021, 10:12 a.m. UTC | #1
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 <lkp@intel.com>
> Signed-off-by: Michael Kelley <mikelley@microsoft.com>

Applied to hyperv-next

Patch
diff mbox series

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);