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>] [day] [month] [year] [list]
Message-ID: <202202091001.FUPeNVtq-lkp@intel.com>
Date:   Wed, 9 Feb 2022 10:58:13 +0800
From:   kernel test robot <lkp@...el.com>
To:     Isaku Yamahata <isaku.yamahata@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [intel-tdx:kvm-upstream-workaround 21/141]
 arch/x86/include/asm/tdx_host.h:60:35: warning: 'struct tdsysinfo_struct'
 declared inside parameter list will not be visible outside of this
 definition or declaration

tree:   https://github.com/intel/tdx.git kvm-upstream-workaround
head:   58f28b2fcc73d05d6a5a9f70a8fdacefa99acb85
commit: 13dd0fa9c0ba8880c196a8feecd826f4c16b18f8 [21/141] x86/cpu: make init_tdx() system wide info about TDX module
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220209/202202091001.FUPeNVtq-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/tdx/commit/13dd0fa9c0ba8880c196a8feecd826f4c16b18f8
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx kvm-upstream-workaround
        git checkout 13dd0fa9c0ba8880c196a8feecd826f4c16b18f8
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/cpu/

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

All warnings (new ones prefixed by >>):

   In file included from arch/x86/kernel/cpu/intel.c:30:
>> arch/x86/include/asm/tdx_host.h:60:35: warning: 'struct tdsysinfo_struct' declared inside parameter list will not be visible outside of this definition or declaration
      60 | static inline int init_tdx(struct tdsysinfo_struct *r) { return -ENODEV; }
         |                                   ^~~~~~~~~~~~~~~~


vim +60 arch/x86/include/asm/tdx_host.h

    53	
    54	void detect_tdx_keyids(struct cpuinfo_x86 *c);
    55	int detect_tdx(void);
    56	int init_tdx(struct tdsysinfo_struct *r);
    57	#else
    58	static inline void detect_tdx_keyids(struct cpuinfo_x86 *c) { }
    59	static inline int detect_tdx(void) { return -ENODEV; }
  > 60	static inline int init_tdx(struct tdsysinfo_struct *r) { return -ENODEV; }
    61	#endif /* CONFIG_INTEL_TDX_HOST */
    62	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ