RDMA/i40iw: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 01:05:42 +0000 (17:05 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 12 Jan 2017 16:38:41 +0000 (11:38 -0500)
commit7f6856b789ff13ccfd317c936e4b161c0bbd88a3
treecc29af072c08aef2a8b11cd44d7331cc32a52a86
parent6554c9f7f7499ee8229e0bdf0e873d9b7a93405d
RDMA/i40iw: 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>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_uk.c