Commit f9e6f00d authored by Borislav Petkov (AMD)'s avatar Borislav Petkov (AMD)

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: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402031410.GTE3PJ1Y-lkp@intel.comSigned-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/202402031410.GTE3PJ1Y-lkp@intel.com
parent 29956748
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment