Re: [PATCH v3 1/2] x86/sgx: Add the missing ifdef for sgx_set_attribute()
From: Borislav Petkov
Date: Thu Aug 26 2021 - 05:58:22 EST
On Thu, Aug 26, 2021 at 02:52:32AM +0300, Jarkko Sakkinen wrote:
> Similarly as sgx_virt_*, decorate sgx_set_attribute() with ifdef, so that
> calling it without appropraite config flags, will cause a compilation
> error, and not a linking error.
Please explain what exactly is this fixing. IOW, how can I reproduce the
failure?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette