Skip to content

Commit f9e6f00

Browse files
committed
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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected] Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2995674 commit f9e6f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/ccp/sev-dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static void *sev_init_ex_buffer;
107107
* Array containing range of pages that firmware transitions to HV-fixed
108108
* page state.
109109
*/
110-
struct sev_data_range_list *snp_range_list;
110+
static struct sev_data_range_list *snp_range_list;
111111

112112
static inline bool sev_version_greater_or_equal(u8 maj, u8 min)
113113
{

0 commit comments

Comments
 (0)