Skip to content

Commit

Permalink
crypto: ccp: Make snp_range_list static
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Borislav Petkov (AMD) committed Feb 3, 2024
1 parent 2995674 commit f9e6f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/ccp/sev-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f9e6f00

Please sign in to comment.