]> git.baikalelectronics.ru Git - kernel.git/commit
bna: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 01:00:54 +0000 (17:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 16:56:57 +0000 (11:56 -0500)
commitdaee5e4cf3aa82c270cf3d5bccc06c011cdab912
treea1c36759b27fb6ff7aaded47d45154f805a40f31
parent45bfcbbfbe457bdb286951df635705ff248e19e8
bna: 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/ethernet/brocade/bna/bna_enet.c