Skip to content

Commit 9d1c0ca

Browse files
keesdavem330
authored andcommitted
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 <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 99a5e17 commit 9d1c0ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/decnet/dn_dev.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static struct dn_dev_sysctl_table {
201201
.extra1 = &min_t3,
202202
.extra2 = &max_t3
203203
},
204-
{0}
204+
{ }
205205
},
206206
};
207207

0 commit comments

Comments
 (0)