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]
Date:   Sun, 2 Oct 2022 13:17:10 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kuppuswamy Sathyanarayanan 
        <sathyanarayanan.kuppuswamy@...ux.intel.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Bagas Sanjaya <bagasdotme@...il.com>,
        Tony Luck <tony.luck@...el.com>,
        Mika Westerberg <mika.westerberg@...ux.intel.com>
Subject: [intel-tdx:guest-attest-wip 2/3]
 drivers/virt/coco/tdx-guest/tdx-guest.c:123:32: warning: unused variable
 'tdx_guest_ids'

tree:   https://github.com/intel/tdx.git guest-attest-wip
head:   ddf8eacc29b0b984390f66077298e5285ff139ff
commit: 2ad40776a6c4f5faec2c1bbb99248732bf02b214 [2/3] virt: Add TDX guest driver
config: x86_64-allyesconfig
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel/tdx/commit/2ad40776a6c4f5faec2c1bbb99248732bf02b214
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest-attest-wip
        git checkout 2ad40776a6c4f5faec2c1bbb99248732bf02b214
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/ethernet/mellanox/mlx5/core/ drivers/virt/coco/tdx-guest/

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

All warnings (new ones prefixed by >>):

>> drivers/virt/coco/tdx-guest/tdx-guest.c:123:32: warning: unused variable 'tdx_guest_ids' [-Wunused-const-variable]
   static const struct x86_cpu_id tdx_guest_ids[] = {
                                  ^
   1 warning generated.


vim +/tdx_guest_ids +123 drivers/virt/coco/tdx-guest/tdx-guest.c

   122	
 > 123	static const struct x86_cpu_id tdx_guest_ids[] = {
   124		X86_MATCH_FEATURE(X86_FEATURE_TDX_GUEST, NULL),
   125		{}
   126	};
   127	MODULE_DEVICE_TABLE(x86cpu, tdx_guest_ids);
   128	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (284015 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ