Re: [Patch v4 06/13] x86/hyperv: Change vTOM handling to use standard coco mechanisms
From: Borislav Petkov
Date: Mon Jan 09 2023 - 13:09:46 EST
On Mon, Jan 09, 2023 at 05:37:00PM +0000, Michael Kelley (LINUX) wrote:
> OK. I have no objection to putting that code in a separate "helper"
> function. The only slight messiness is that the helper function must
> be separately wrapped in #ifdef CONFIG_AMD_MEM_ENCRYPT, or
> marked __maybe_unused.
I'd vote for __maybe_unused as that doesn't mean more ifdeffery.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette