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