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.129 / U:14.232 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site