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: <202210240241.iakhvvly-lkp@intel.com>
Date:   Mon, 24 Oct 2022 02:08:36 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kuppuswamy Sathyanarayanan 
        <sathyanarayanan.kuppuswamy@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Tony Luck <tony.luck@...el.com>,
        Andi Kleen <ak@...ux.intel.com>
Subject: [intel-tdx:guest-attest 6/9] arch/x86/coco/tdx/attest.c:57:25:
 sparse: sparse: symbol 'quote_wq' was not declared. Should it be static?

tree:   https://github.com/intel/tdx.git guest-attest
head:   4376c548006e5d7d2f7978ed20aa3c6b2a8cf4c6
commit: e5a51336a06783ba9e7c09b6652c05bd7afe4b81 [6/9] x86/tdx: Add Quote generation support
config: x86_64-randconfig-s022
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://github.com/intel/tdx/commit/e5a51336a06783ba9e7c09b6652c05bd7afe4b81
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest-attest
        git checkout e5a51336a06783ba9e7c09b6652c05bd7afe4b81
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/coco/tdx/

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

sparse warnings: (new ones prefixed by >>)
>> arch/x86/coco/tdx/attest.c:57:25: sparse: sparse: symbol 'quote_wq' was not declared. Should it be static?
>> arch/x86/coco/tdx/attest.c:58:20: sparse: sparse: symbol 'quote_work' was not declared. Should it be static?

vim +/quote_wq +57 arch/x86/coco/tdx/attest.c

    52	
    53	/*
    54	 * Workqueue to handle Quote data after Quote generation
    55	 * notification from VMM.
    56	 */
  > 57	struct workqueue_struct *quote_wq;
  > 58	struct work_struct quote_work;
    59	

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ