lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202011031515.SFTbn2RA-lkp@intel.com>
Date:   Tue, 3 Nov 2020 15:38:59 +0800
From:   kernel test robot <lkp@...el.com>
To:     Dexuan Cui <decui@...rosoft.com>, tglx@...utronix.de,
        dwmw2@...radead.org, x86@...nel.org, mikelley@...rosoft.com,
        linux-hyperv@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Tianyu.Lan@...rosoft.com, vkuznets@...hat.com, kys@...rosoft.com
Subject: Re: [PATCH] x86/hyperv: Enable 15-bit APIC ID if the hypervisor
 supports it

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (26544 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ