mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/x86/entry/common.c:736:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall'
@ 2020-07-18 21:46 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-07-18 21:46 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, Ingo Molnar

[-- Attachment #1: Type: text/plain, Size: 1952 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6cf7ccba29dcf39ab27630c383a3844078a6d5cd
commit: 2f6474e4636bcc68af6c44abb2703f12d7f083da x86/entry: Switch XEN/PV hypercall entry to IDTENTRY
date:   5 weeks ago
config: x86_64-randconfig-r004-20200719 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
        git checkout 2f6474e4636bcc68af6c44abb2703f12d7f083da
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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/entry/common.c:59:24: warning: no previous prototype for 'enter_from_user_mode' [-Wmissing-prototypes]
      59 | __visible noinstr void enter_from_user_mode(void)
         |                        ^~~~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:274:24: warning: no previous prototype for 'prepare_exit_to_usermode' [-Wmissing-prototypes]
     274 | __visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:336:24: warning: no previous prototype for 'syscall_return_slowpath' [-Wmissing-prototypes]
     336 | __visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/entry/common.c:736:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall' [-Wmissing-prototypes]
     736 | __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~

vim +/xen_pv_evtchn_do_upcall +736 arch/x86/entry/common.c

   735	
 > 736	__visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)

---
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: 32415 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* arch/x86/entry/common.c:736:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall'
@ 2021-04-03 13:02 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-04-03 13:02 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, Ingo Molnar

[-- Attachment #1: Type: text/plain, Size: 2272 bytes --]

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d93a0d43e3d0ba9e19387be4dae4a8d5b175a8d7
commit: 2f6474e4636bcc68af6c44abb2703f12d7f083da x86/entry: Switch XEN/PV hypercall entry to IDTENTRY
date:   10 months ago
config: x86_64-randconfig-r011-20210403 (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/torvalds/linux.git/commit/?id=2f6474e4636bcc68af6c44abb2703f12d7f083da
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 2f6474e4636bcc68af6c44abb2703f12d7f083da
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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/entry/common.c:59:24: warning: no previous prototype for 'enter_from_user_mode' [-Wmissing-prototypes]
      59 | __visible noinstr void enter_from_user_mode(void)
         |                        ^~~~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:274:24: warning: no previous prototype for 'prepare_exit_to_usermode' [-Wmissing-prototypes]
     274 | __visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:336:24: warning: no previous prototype for 'syscall_return_slowpath' [-Wmissing-prototypes]
     336 | __visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/entry/common.c:736:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall' [-Wmissing-prototypes]
     736 | __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~


vim +/xen_pv_evtchn_do_upcall +736 arch/x86/entry/common.c

   735	
 > 736	__visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)

---
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: 30643 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* arch/x86/entry/common.c:736:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall'
@ 2022-09-20 14:14 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-09-20 14:14 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, Ingo Molnar

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   521a547ced6477c54b4b0cc206000406c221b4d6
commit: 2f6474e4636bcc68af6c44abb2703f12d7f083da x86/entry: Switch XEN/PV hypercall entry to IDTENTRY
date:   2 years, 3 months ago
config: x86_64-randconfig-r016-20220919 (https://download.01.org/0day-ci/archive/20220920/202209202208.CpsEyXIp-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2f6474e4636bcc68af6c44abb2703f12d7f083da
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 2f6474e4636bcc68af6c44abb2703f12d7f083da
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All warnings (new ones prefixed by >>):

   arch/x86/entry/common.c:274:24: warning: no previous prototype for 'prepare_exit_to_usermode' [-Wmissing-prototypes]
     274 | __visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/entry/common.c:336:24: warning: no previous prototype for 'syscall_return_slowpath' [-Wmissing-prototypes]
     336 | __visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/entry/common.c:736:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall' [-Wmissing-prototypes]
     736 | __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
         |                        ^~~~~~~~~~~~~~~~~~~~~~~


vim +/xen_pv_evtchn_do_upcall +736 arch/x86/entry/common.c

   735	
 > 736	__visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-20 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-18 21:46 arch/x86/entry/common.c:736:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall' kernel test robot
2021-04-03 13:02 kernel test robot
2022-09-20 14:14 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

Powered by JetHome