Re: [PATCH v3 03/21] x86/fpu/xstate: Modify address finders to handle both static and dynamic buffers

From: Borislav Petkov
Date: Fri Jan 15 2021 - 08:07:52 EST


On Wed, Dec 23, 2020 at 07:56:59AM -0800, Chang S. Bae wrote:
> diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c
> index 6156dad0feb6..2010c31d25e1 100644
> --- a/arch/x86/kernel/fpu/xstate.c
> +++ b/arch/x86/kernel/fpu/xstate.c
> @@ -894,15 +894,24 @@ void fpu__resume_cpu(void)
> * Given an xstate feature nr, calculate where in the xsave
> * buffer the state is. Callers should ensure that the buffer
> * is valid.
> + *
> + * A null pointer parameter indicates to use init_fpstate.
> */

kernel-doc style comment pls.

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg