Re: [PATCH 10/22] x86/fpu: Make __raw_xsave_addr() use feature number instead of mask

Borislav Petkov
2019-01-28T18:30:04Z

On Wed, Jan 09, 2019 at 12:47:32PM +0100, Sebastian Andrzej Siewior wrote:
> Most users of __raw_xsave_addr() use a feature number, shift it to a
> mask and then __raw_xsave_addr() shifts it back to the feature number.
>
> Make __raw_xsave_addr() use the feature number as an argument.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---
> arch/x86/kernel/fpu/xstate.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)

Reviewed-by: Borislav Petkov <bp@suse.de>

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.