aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fpu/internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-06-23 14:01:50 +0200
committerBorislav Petkov <bp@suse.de>2021-06-23 17:52:41 +0200
commit9fe8a6f5eed8fff6b2d7dbc99b911334e311732d (patch)
tree6130bcbe9413b23bf5556f1af3c78bdb1db1d78f /arch/x86/include/asm/fpu/internal.h
parentx86/kvm: Avoid looking up PKRU in XSAVE buffer (diff)
downloadlinux-dev-9fe8a6f5eed8fff6b2d7dbc99b911334e311732d.tar.xz
linux-dev-9fe8a6f5eed8fff6b2d7dbc99b911334e311732d.zip
x86/fpu: Cleanup arch_set_user_pkey_access()
The function does a sanity check with a WARN_ON_ONCE() but happily proceeds when the pkey argument is out of range. Clean it up. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121453.635764326@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/fpu/internal.h')
0 files changed, 0 insertions, 0 deletions