diff options
author | Kees Cook <keescook@chromium.org> | 2016-12-17 04:01:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-17 19:56:57 +0300 |
commit | ebf12f1320c70c3eaeb5b7d108444fafd54d352c (patch) | |
tree | 88f025a5665f1bad906e86dd008cb3e93bd82656 /drivers/isdn/i4l/isdn_concap.c | |
parent | 9751362a4fe7ad37115d20344ce6d914a088268d (diff) | |
download | linux-ebf12f1320c70c3eaeb5b7d108444fafd54d352c.tar.xz |
isdn: 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>
Diffstat (limited to 'drivers/isdn/i4l/isdn_concap.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_concap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_concap.c b/drivers/isdn/i4l/isdn_concap.c index 91d57304d4d3..336523ec077c 100644 --- a/drivers/isdn/i4l/isdn_concap.c +++ b/drivers/isdn/i4l/isdn_concap.c @@ -80,9 +80,9 @@ static int isdn_concap_dl_disconn_req(struct concap_proto *concap) } struct concap_device_ops isdn_concap_reliable_dl_dops = { - &isdn_concap_dl_data_req, - &isdn_concap_dl_connect_req, - &isdn_concap_dl_disconn_req + .data_req = &isdn_concap_dl_data_req, + .connect_req = &isdn_concap_dl_connect_req, + .disconn_req = &isdn_concap_dl_disconn_req }; /* The following should better go into a dedicated source file such that |