Re: [Patch v4 06/13] x86/hyperv: Change vTOM handling to use standard coco mechanisms

Borislav Petkov
2023-01-09T18:09:43Z

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.