diff options
author | Borislav Petkov (AMD) <bp@alien8.de> | 2024-02-03 13:40:48 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-02-03 13:41:41 +0300 |
commit | f9e6f00d93d34f60f90b42c24e80194b11a72bb2 (patch) | |
tree | cc9d9c3036a059fc6db6184dcba7d462d40fdf2f /drivers/crypto | |
parent | 29956748339aa8757a7e2f927a8679dd08f24bb6 (diff) | |
download | linux-f9e6f00d93d34f60f90b42c24e80194b11a72bb2.tar.xz |
crypto: ccp: Make snp_range_list static
Fix:
drivers/crypto/ccp/sev-dev.c:93:28: sparse: sparse: symbol 'snp_range_list' was not declared. Should it be static?
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402031410.GTE3PJ1Y-lkp@intel.com
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/202402031410.GTE3PJ1Y-lkp@intel.com
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/ccp/sev-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/sev-dev.c b/drivers/crypto/ccp/sev-dev.c index f1a5795ffadb..182427f16ef8 100644 --- a/drivers/crypto/ccp/sev-dev.c +++ b/drivers/crypto/ccp/sev-dev.c @@ -107,7 +107,7 @@ static void *sev_init_ex_buffer; * Array containing range of pages that firmware transitions to HV-fixed * page state. */ -struct sev_data_range_list *snp_range_list; +static struct sev_data_range_list *snp_range_list; static inline bool sev_version_greater_or_equal(u8 maj, u8 min) { |