All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android14-6.1 0/8] arch/x86/xen/enlighten_pv.c:650:24: warning: no previous prototype for function 'xen_pv_evtchn_do_upcall'
Date: Sat, 22 Aug 2026 05:48:52 +0800	[thread overview]
Message-ID: <202608220519.3LglqRHS-lkp@intel.com> (raw)

Hi Brian,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://android.googlesource.com/kernel/common android14-6.1
head:   9fd3e1d56be51348e5fa5a1633a82a3e82987954
commit: 67d749f3e3516c7343ea6c7fdd38fd3dbfa05936 [0/8] x86/xen: Move Xen upcall handler
config: x86_64-randconfig-004-20260822 (https://download.01.org/0day-ci/archive/20260822/202608220519.3LglqRHS-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260822/202608220519.3LglqRHS-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608220519.3LglqRHS-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/xen/enlighten_pv.c:650:24: warning: no previous prototype for function 'xen_pv_evtchn_do_upcall' [-Wmissing-prototypes]
     650 | __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
         |                        ^
   arch/x86/xen/enlighten_pv.c:650:19: note: declare 'static' if the function is not intended to be used outside of this translation unit
     650 | __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
         |                   ^
         |                   static 
   arch/x86/xen/enlighten_pv.c:1301:34: warning: no previous prototype for function 'xen_start_kernel' [-Wmissing-prototypes]
    1301 | asmlinkage __visible void __init xen_start_kernel(struct start_info *si)
         |                                  ^
   arch/x86/xen/enlighten_pv.c:1301:22: note: declare 'static' if the function is not intended to be used outside of this translation unit
    1301 | asmlinkage __visible void __init xen_start_kernel(struct start_info *si)
         |                      ^
         |                      static 
   2 warnings generated.


vim +/xen_pv_evtchn_do_upcall +650 arch/x86/xen/enlighten_pv.c

   649	
 > 650	__visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
   651	{
   652		irqentry_state_t state = irqentry_enter(regs);
   653		bool inhcall;
   654	
   655		instrumentation_begin();
   656		run_sysvec_on_irqstack_cond(__xen_pv_evtchn_do_upcall, regs);
   657	
   658		inhcall = get_and_clear_inhcall();
   659		if (inhcall && !WARN_ON_ONCE(state.exit_rcu)) {
   660			irqentry_exit_cond_resched();
   661			instrumentation_end();
   662			restore_inhcall(inhcall);
   663		} else {
   664			instrumentation_end();
   665			irqentry_exit(regs, state);
   666		}
   667	}
   668	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-08-21 21:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202608220519.3LglqRHS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.