Thread (75 messages) 75 messages, 8 authors, 2021-12-08

Re: [PATCH v7 15/45] x86/compressed: Register GHCB memory when SEV-SNP is active

From: Jörg Rödel <joro@8bytes.org>
Date: 2021-11-15 14:06:08
Also in: kvm, linux-coco, linux-efi, lkml, platform-driver-x86

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)
      |             ^~~~~~~~~~~~~~~~~~~~~~~

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help