lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 15/45] x86/compressed: Register GHCB memory when SEV-SNP is active
On Wed, Nov 10, 2021 at 04:07:01PM -0600, Brijesh Singh wrote:
> +static void snp_register_ghcb_early(unsigned long paddr)

This needs __maybe_unused, otherwise it triggers a warning:

arch/x86/kernel/sev-shared.c:78:13: warning: ‘snp_register_ghcb_early’ defined but not used [-Wunused-function]
78 | static void snp_register_ghcb_early(unsigned long paddr)
| ^~~~~~~~~~~~~~~~~~~~~~~

\
 
 \ /
  Last update: 2021-11-15 15:06    [W:1.459 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site