From: Kees Cook Date: Sat, 17 Dec 2016 00:58:58 +0000 (-0800) Subject: net: use designated initializers X-Git-Tag: Ubuntu-5.2.0-15.16~7782^2~20 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=9d1c0ca5e1d6697ce1e32bb708bfe24dff34f287;p=mirror_ubuntu-eoan-kernel.git net: 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 Signed-off-by: David S. Miller --- diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index b2c26b081134..41f803e35da3 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c @@ -201,7 +201,7 @@ static struct dn_dev_sysctl_table { .extra1 = &min_t3, .extra2 = &max_t3 }, - {0} + { } }, };