drm/ttm: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 01:00:11 +0000 (17:00 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 18 Dec 2016 13:48:26 +0000 (14:48 +0100)
commit4e98c378a137def586b3ffc8ac5a5852da2e0538
tree8ad6c2a9fe0476615c1548680fa6f4d8d1c83acc
parentc92f723705718b05e4e79a217317616f08b40127
drm/ttm: 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: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161217010011.GA140300@beast
drivers/gpu/drm/ttm/ttm_bo_manager.c