drm/amdgpu: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 01:02:32 +0000 (17:02 -0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:12:40 +0000 (11:12 -0500)
commit613e61a0252c54371c957d44767544a76f0da3a6
treed571b41b7dc3bc75523c04a7e8d7e37077e0cd7f
parentf7e9e9feb09f833d03f5fc3f378083b4664bd374
drm/amdgpu: 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: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c