sparse doesn't support struct randomization
authorMatthew Wilcox <mawilcox@microsoft.com>
Fri, 19 Jan 2018 00:34:08 +0000 (16:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Jan 2018 18:09:41 +0000 (10:09 -0800)
commita3d6c976f71902388e444594daa902032b5a45fa
treec49402e711ac23624d95301110b11dbac3b51bae
parent8bb2ee192e482c5d500df9f2b1b26a560bd3026f
sparse doesn't support struct randomization

Without this patch, I drown in a sea of unknown attribute warnings

Link: http://lkml.kernel.org/r/20180117024539.27354-1-willy@infradead.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compiler-gcc.h