aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDave Hansen <[email protected]>2017-11-11 00:12:29 +0000
committerIngo Molnar <[email protected]>2017-11-21 08:34:52 +0000
commita6400120d042397675fcf694060779d21e9e762d (patch)
tree4f78f6bb0ad19e731111c551be6b00c0d3dc401c /net/unix/af_unix.c
parentx86/pkeys: Update documentation about availability (diff)
downloadkernel-a6400120d042397675fcf694060779d21e9e762d.tar.gz
kernel-a6400120d042397675fcf694060779d21e9e762d.zip
x86/mpx/selftests: Fix up weird arrays
The MPX hardware data structurse are defined in a weird way: they define their size in bytes and then union that with the type with which we want to access them. Yes, this is weird, but it does work. But, new GCC's complain that we are accessing the array out of bounds. Just make it a zero-sized array so gcc will stop complaining. There was not really a bug here. Signed-off-by: Dave Hansen <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions