]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f878d52afdae2281ef19a606d99e49d8a4574e2
treed571b41b7dc3bc75523c04a7e8d7e37077e0cd7f
parent610edf77a90b8e6597dcf424bb9d129f247ffa26
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