mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jason Andryuk <jandryuk@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Juergen Gross <jgross@suse.com>
Subject: arch/x86/xen/enlighten_pvh.c:26:13: warning: no previous prototype for 'xen_pvh_init'
Date: Mon, 5 Jul 2021 09:33:30 +0800	[thread overview]
Message-ID: <202107050925.nSRLKF2L-lkp@intel.com> (raw)

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

Hi Jason,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a180bd1d7e16173d965b263c5a536aa40afa2a2a
commit: 34aff14580d1b02971adfd63be994f9c045919aa xen: Remove Xen PVH/PVHVM dependency on PCI
date:   7 months ago
config: x86_64-buildonly-randconfig-r002-20210705 (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=34aff14580d1b02971adfd63be994f9c045919aa
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 34aff14580d1b02971adfd63be994f9c045919aa
        # 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/xen/enlighten_pvh.c:26:13: warning: no previous prototype for 'xen_pvh_init' [-Wmissing-prototypes]
      26 | void __init xen_pvh_init(struct boot_params *boot_params)
         |             ^~~~~~~~~~~~
>> arch/x86/xen/enlighten_pvh.c:42:13: warning: no previous prototype for 'mem_map_via_hcall' [-Wmissing-prototypes]
      42 | void __init mem_map_via_hcall(struct boot_params *boot_params_p)
         |             ^~~~~~~~~~~~~~~~~


vim +/xen_pvh_init +26 arch/x86/xen/enlighten_pvh.c

8cee3974b35bfb Maran Wilson    2018-12-10  25  
72813bfbf0276a Roger Pau Monne 2019-04-23 @26  void __init xen_pvh_init(struct boot_params *boot_params)
8cee3974b35bfb Maran Wilson    2018-12-10  27  {
8cee3974b35bfb Maran Wilson    2018-12-10  28  	u32 msr;
8cee3974b35bfb Maran Wilson    2018-12-10  29  	u64 pfn;
8cee3974b35bfb Maran Wilson    2018-12-10  30  
8cee3974b35bfb Maran Wilson    2018-12-10  31  	xen_pvh = 1;
c9f804d64bb93c Roger Pau Monne 2019-04-23  32  	xen_domain_type = XEN_HVM_DOMAIN;
8cee3974b35bfb Maran Wilson    2018-12-10  33  	xen_start_flags = pvh_start_info.flags;
8cee3974b35bfb Maran Wilson    2018-12-10  34  
8cee3974b35bfb Maran Wilson    2018-12-10  35  	msr = cpuid_ebx(xen_cpuid_base() + 2);
8cee3974b35bfb Maran Wilson    2018-12-10  36  	pfn = __pa(hypercall_page);
8cee3974b35bfb Maran Wilson    2018-12-10  37  	wrmsr_safe(msr, (u32)pfn, (u32)(pfn >> 32));
72813bfbf0276a Roger Pau Monne 2019-04-23  38  
72813bfbf0276a Roger Pau Monne 2019-04-23  39  	xen_efi_init(boot_params);
8cee3974b35bfb Maran Wilson    2018-12-10  40  }
a43fb7da53007e Maran Wilson    2018-12-10  41  
a43fb7da53007e Maran Wilson    2018-12-10 @42  void __init mem_map_via_hcall(struct boot_params *boot_params_p)

:::::: The code at line 26 was first introduced by commit
:::::: 72813bfbf0276a97c82af038efb5f02dcdd9e310 xen/pvh: correctly setup the PV EFI interface for dom0

:::::: TO: Roger Pau Monne <roger.pau@citrix.com>
:::::: CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>

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

                 reply	other threads:[~2021-07-05  1:43 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=202107050925.nSRLKF2L-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jandryuk@gmail.com \
    --cc=jgross@suse.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®