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-next>] [day] [month] [year] [list]
Date: Sat, 3 Feb 2024 14:04:48 +0800
From: kernel test robot <lkp@...el.com>
To: Brijesh Singh <brijesh.singh@....com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	x86@...nel.org, "Borislav Petkov (AMD)" <bp@...en8.de>,
	Ashish Kalra <ashish.kalra@....com>,
	Jarkko Sakkinen <jarkko@...fian.com>,
	Tom Lendacky <thomas.lendacky@....com>,
	Michael Roth <michael.roth@....com>
Subject: [tip:x86/sev 16/29] drivers/crypto/ccp/sev-dev.c:93:28: sparse:
 sparse: symbol 'snp_range_list' was not declared. Should it be static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/sev
head:   1bfca8d2800ab5ef0dfed335a2a29d1632c99411
commit: 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2 [16/29] crypto: ccp: Add support to initialize the AMD-SP for SEV-SNP
config: x86_64-randconfig-r131-20240203 (https://download.01.org/0day-ci/archive/20240203/202402031410.GTE3PJ1Y-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240203/202402031410.GTE3PJ1Y-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402031410.GTE3PJ1Y-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/crypto/ccp/sev-dev.c:93:28: sparse: sparse: symbol 'snp_range_list' was not declared. Should it be static?

vim +/snp_range_list +93 drivers/crypto/ccp/sev-dev.c

    87	
    88	/*
    89	 * SEV_DATA_RANGE_LIST:
    90	 *   Array containing range of pages that firmware transitions to HV-fixed
    91	 *   page state.
    92	 */
  > 93	struct sev_data_range_list *snp_range_list;
    94	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ