]> git.baikalelectronics.ru Git - kernel.git/commit
WAN: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 00:59:18 +0000 (16:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 16:56:57 +0000 (11:56 -0500)
commit45bfcbbfbe457bdb286951df635705ff248e19e8
tree44ef9260fba895f65314625e4329de8d296d81df
parent6c6cb216ab43bb842d1bc6a0fe5197f0887450a2
WAN: use designated initializers

Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers. These were identified during
allyesconfig builds of x86, arm, and arm64, with most initializer fixes
extracted from grsecurity.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/lmc/lmc_media.c