public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dexuan Cui <decui@microsoft.com>,
	tglx@linutronix.de, dwmw2@infradead.org, x86@kernel.org,
	mikelley@microsoft.com, linux-hyperv@vger.kernel.org
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Tianyu.Lan@microsoft.com, vkuznets@redhat.com, kys@microsoft.com
Subject: Re: [PATCH] x86/hyperv: Enable 15-bit APIC ID if the hypervisor supports it
Date: Tue, 3 Nov 2020 15:38:59 +0800	[thread overview]
Message-ID: <202011031515.SFTbn2RA-lkp@intel.com> (raw)
In-Reply-To: <20201103011136.59108-1-decui@microsoft.com>

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

Hi Dexuan,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/x86/core]
[also build test ERROR on tip/master v5.10-rc2 next-20201102]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Dexuan-Cui/x86-hyperv-Enable-15-bit-APIC-ID-if-the-hypervisor-supports-it/20201103-091414
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 238c91115cd05c71447ea071624a4c9fe661f970
config: i386-randconfig-r012-20201103 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/c4037b8c4cd61f970749c6685a3df5a1376193d2
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dexuan-Cui/x86-hyperv-Enable-15-bit-APIC-ID-if-the-hypervisor-supports-it/20201103-091414
        git checkout c4037b8c4cd61f970749c6685a3df5a1376193d2
        # 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@intel.com>

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

>> arch/x86/kernel/cpu/mshyperv.c:397:8: error: 'struct x86_hyper_init' has no member named 'msi_ext_dest_id'
     397 |  .init.msi_ext_dest_id = ms_hyperv_msi_ext_dest_id,
         |        ^~~~~~~~~~~~~~~
>> arch/x86/kernel/cpu/mshyperv.c:397:26: error: initialization of 'void (*)(void)' from incompatible pointer type 'bool (*)(void)' {aka '_Bool (*)(void)'} [-Werror=incompatible-pointer-types]
     397 |  .init.msi_ext_dest_id = ms_hyperv_msi_ext_dest_id,
         |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/kernel/cpu/mshyperv.c:397:26: note: (near initialization for 'x86_hyper_ms_hyperv.init.init_platform')
>> arch/x86/kernel/cpu/mshyperv.c:398:24: warning: initialized field overwritten [-Woverride-init]
     398 |  .init.init_platform = ms_hyperv_init_platform,
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/kernel/cpu/mshyperv.c:398:24: note: (near initialization for 'x86_hyper_ms_hyperv.init.init_platform')
   cc1: some warnings being treated as errors

vim +397 arch/x86/kernel/cpu/mshyperv.c

   391	
   392	const __initconst struct hypervisor_x86 x86_hyper_ms_hyperv = {
   393		.name			= "Microsoft Hyper-V",
   394		.detect			= ms_hyperv_platform,
   395		.type			= X86_HYPER_MS_HYPERV,
   396		.init.x2apic_available	= ms_hyperv_x2apic_available,
 > 397		.init.msi_ext_dest_id	= ms_hyperv_msi_ext_dest_id,
 > 398		.init.init_platform	= ms_hyperv_init_platform,

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

  parent reply	other threads:[~2020-11-03  7:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03  1:11 [PATCH] x86/hyperv: Enable 15-bit APIC ID if the hypervisor supports it Dexuan Cui
2020-11-03  2:04 ` Dexuan Cui
2020-11-03  7:38 ` kernel test robot [this message]
2020-11-03  8:02 ` David Woodhouse
2020-11-03  9:46   ` Dexuan Cui
2020-11-03  8:22 ` [tip: x86/apic] " tip-bot2 for Dexuan Cui
2020-11-03  9:37 ` [PATCH] " Dexuan Cui
2020-11-04 10:13 ` [tip: x86/apic] " tip-bot2 for Dexuan Cui

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=202011031515.SFTbn2RA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Tianyu.Lan@microsoft.com \
    --cc=decui@microsoft.com \
    --cc=dwmw2@infradead.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kys@microsoft.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikelley@microsoft.com \
    --cc=tglx@linutronix.de \
    --cc=vkuznets@redhat.com \
    --cc=x86@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