All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [tglx-devel:x86/entry 93/119] arch/x86/entry/common.c:707:2: error: unknown type name 'boot'; did you mean 'bool'?
Date: Fri, 22 May 2020 18:48:43 +0800	[thread overview]
Message-ID: <202005221840.bZ3PM1A9%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/entry
head:   da0d0553b69e8159a4f25f7981d752e20c22f2ab
commit: 096b735813d5fef5b6b0e80e7585fba57c55e05b [93/119] x86/entry: Switch XEN/PV hypercall entry to IDTENTRY
config: i386-debian-10.3 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 096b735813d5fef5b6b0e80e7585fba57c55e05b
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>, old ones prefixed by <<):

arch/x86/entry/common.c:272:24: warning: no previous prototype for 'prepare_exit_to_usermode' [-Wmissing-prototypes]
__visible noinstr void prepare_exit_to_usermode(struct pt_regs *regs)
^~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/entry/common.c:334:24: warning: no previous prototype for 'syscall_return_slowpath' [-Wmissing-prototypes]
__visible noinstr void syscall_return_slowpath(struct pt_regs *regs)
^~~~~~~~~~~~~~~~~~~~~~~
arch/x86/entry/common.c:408:24: warning: no previous prototype for 'do_int80_syscall_32' [-Wmissing-prototypes]
__visible noinstr void do_int80_syscall_32(struct pt_regs *regs)
^~~~~~~~~~~~~~~~~~~
arch/x86/entry/common.c:451:24: warning: no previous prototype for 'do_fast_syscall_32' [-Wmissing-prototypes]
__visible noinstr long do_fast_syscall_32(struct pt_regs *regs)
^~~~~~~~~~~~~~~~~~
arch/x86/entry/common.c: In function 'get_and_clear_inhcall':
>> arch/x86/entry/common.c:707:2: error: unknown type name 'boot'; did you mean 'bool'?
boot inhcall = __this_cpu_read(xen_in_preemptible_hcall);
^~~~
bool
arch/x86/entry/common.c:707:7: warning: unused variable 'inhcall' [-Wunused-variable]
boot inhcall = __this_cpu_read(xen_in_preemptible_hcall);
^~~~~~~
>> arch/x86/entry/common.c:710:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
arch/x86/entry/common.c: At top level:
>> arch/x86/entry/common.c:731:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall' [-Wmissing-prototypes]
__visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
^~~~~~~~~~~~~~~~~~~~~~~

vim +707 arch/x86/entry/common.c

   700	
   701	/*
   702	 * In case of scheduling the flag must be cleared and restored after
   703	 * returning from schedule as the task might move to a different CPU.
   704	 */
   705	static __always_inline bool get_and_clear_inhcall(void)
   706	{
 > 707		boot inhcall = __this_cpu_read(xen_in_preemptible_hcall);
   708	
   709		__this_cpu_write(xen_in_preemptible_hcall, false);
 > 710	}
   711	
   712	static __always_inline void restore_inhcall(bool inhcall)
   713	{
   714		__this_cpu_write(xen_in_preemptible_hcall, inhcall);
   715	}
   716	#else
   717	static __always_inline bool get_and_clear_inhcall(void) { return false; }
   718	static __always_inline void restore_inhcall(bool inhcall) { }
   719	#endif
   720	
   721	static void __xen_pv_evtchn_do_upcall(void)
   722	{
   723		irq_enter_rcu();
   724		inc_irq_stat(irq_hv_callback_count);
   725	
   726		xen_hvm_evtchn_do_upcall();
   727	
   728		irq_exit_rcu();
   729	}
   730	
 > 731	__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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34590 bytes --]

             reply	other threads:[~2020-05-22 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22 10:48 kbuild test robot [this message]
2020-05-23  0:53 [tglx-devel:x86/entry 93/119] arch/x86/entry/common.c:707:2: error: unknown type name 'boot'; did you mean 'bool'? kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005221840.bZ3PM1A9%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.