summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorYu-cheng Yu <yu-cheng.yu@intel.com>2020-01-09 13:14:52 -0800
committerBorislav Petkov <bp@suse.de>2020-02-12 15:43:34 +0100
commite70b100806d63fb79775858ea92e1a716da46186 (patch)
treeab9fcc22a0c0f9c48f0138b6efe1296b08cfb69b /kernel/bpf/stackmap.c
parent49a91d61aed1db01097b51a24c77137eb348a0bf (diff)
x86/fpu/xstate: Warn when checking alignment of disabled xfeatures
An XSAVES component's alignment/offset is meaningful only when the feature is enabled. Return zero and WARN_ONCE on checking alignment of disabled features. Signed-off-by: Yu-cheng Yu <yu-cheng.yu@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lkml.kernel.org/r/20200109211452.27369-4-yu-cheng.yu@intel.com
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions