drm/ttm: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 00:59:29 +0000 (16:59 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 18 Dec 2016 13:48:25 +0000 (14:48 +0100)
commitc92f723705718b05e4e79a217317616f08b40127
treec00960bdbe1d98fe1a98a3f164a23cf6f87b7e11
parent9118c0b7a6d451004753bf529bfa505e3207f9bc
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/20161217005929.GA140260@beast
drivers/gpu/drm/virtio/virtgpu_ttm.c