* [linux-next:master 2651/2892] arch/x86/kernel/cpu/mshyperv.c:94:6: warning: no previous prototype for 'hv_setup_stimer0_handler'
@ 2021-03-09 16:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-09 16:54 UTC (permalink / raw)
To: Michael Kelley; +Cc: kbuild-all, Linux Memory Management List, Wei Liu
[-- Attachment #1: Type: text/plain, Size: 2455 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3aa6f5082286ec74926f3587b05697ba2fd0ace7
commit: ec866be6ec547c9e1cc4451f04250e08b5fe67c7 [2651/2892] clocksource/drivers/hyper-v: Move handling of STIMER0 interrupts
config: i386-randconfig-r031-20210309 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ec866be6ec547c9e1cc4451f04250e08b5fe67c7
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout ec866be6ec547c9e1cc4451f04250e08b5fe67c7
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/mshyperv.c:94:6: warning: no previous prototype for 'hv_setup_stimer0_handler' [-Wmissing-prototypes]
94 | void hv_setup_stimer0_handler(void (*handler)(void))
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/cpu/mshyperv.c:99:6: warning: no previous prototype for 'hv_remove_stimer0_handler' [-Wmissing-prototypes]
99 | void hv_remove_stimer0_handler(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
--
>> drivers/clocksource/hyperv_timer.c:190:13: warning: no previous prototype for 'hv_setup_stimer0_handler' [-Wmissing-prototypes]
190 | void __weak hv_setup_stimer0_handler(void (*handler)(void))
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/clocksource/hyperv_timer.c:194:13: warning: no previous prototype for 'hv_remove_stimer0_handler' [-Wmissing-prototypes]
194 | void __weak hv_remove_stimer0_handler(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/hv_setup_stimer0_handler +94 arch/x86/kernel/cpu/mshyperv.c
92
93 /* For x86/x64, override weak placeholders in hyperv_timer.c */
> 94 void hv_setup_stimer0_handler(void (*handler)(void))
95 {
96 hv_stimer0_handler = handler;
97 }
98
> 99 void hv_remove_stimer0_handler(void)
100 {
101 /* We have no way to deallocate the interrupt gate */
102 hv_stimer0_handler = NULL;
103 }
104
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29329 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-09 16:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 16:54 [linux-next:master 2651/2892] arch/x86/kernel/cpu/mshyperv.c:94:6: warning: no previous prototype for 'hv_setup_stimer0_handler' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox