asm-generic/hyperv: Add missing function prototypes per -W1 warnings

Started by Michael Kelley on Mar 10, 2021 · 2 messages from 2 authors · Last reply Mar 11, 2021

Subsystems (3)

Maintainers (5)

Show 1 more
STALE2073d LANDED

Status: Landed in mainline as a620bbaa3510 on 2021-03-11.

open the first message on its own page

Message details and related content
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
Message details and related content
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
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help