lkml.org 
[lkml]   [2017]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 4/5] x86/xsave: Make XSAVE check the base CPUID features before enabling
On Wed, 4 Oct 2017, Andi Kleen wrote:
> + /*
> + * Clear XSAVE features that are disabled in the normal CPUID.
> + */
> + for (i = 0; i < ARRAY_SIZE(xsave_cpuid_features); i++)
> + if (!boot_cpu_has(xsave_cpuid_features[i]))
> + xfeatures_mask &= ~BIT(i);

Please add curly braces around this multi line statement.

https://marc.info/?l=linux-kernel&m=148467980905537&w=2

Thanks,

tglx

\
 
 \ /
  Last update: 2017-10-05 15:32    [W:0.346 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site