[linux-next:master 2651/2892] arch/x86/kernel/cpu/mshyperv.c:94:6: warning: no previous prototype for 'hv_setup_stimer0_handler'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux