drm/nouveau: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 01:04:42 +0000 (17:04 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 18 Dec 2016 13:48:27 +0000 (14:48 +0100)
commit2fa70bb9b5642211c521910d23e8b6c8d425fb89
treec27aebcfd4612a9a9ff3b100f7fb72f12be87000
parent5ca16d8efa669a7b57b85d9d6aa49b001ba79afb
drm/nouveau: 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/20161217010442.GA140619@beast
drivers/gpu/drm/nouveau/nouveau_ttm.c