summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2017-11-11 03:12:32 +0300
committerIngo Molnar <mingo@kernel.org>2017-11-21 11:34:52 +0300
commit7b659ee3e1fe0e8eb39730afb903c64e25490ec4 (patch)
tree9649c9e18c9ac1726b29f2ae4f9c0f4b9446763c /arch
parent91c49c2deb96ffc3c461eaae70219d89224076b7 (diff)
downloadlinux-7b659ee3e1fe0e8eb39730afb903c64e25490ec4.tar.xz
x86/pkeys/selftests: Fix protection keys write() warning
write() is marked as having a must-check return value. Check it and abort if we fail to write an error message from a signal handler. Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20171111001232.94813E58@viggo.jf.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions