]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: gcc fixes for ci dpm
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Aug 2013 23:08:22 +0000 (19:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:31:22 +0000 (16:31 -0400)
commita76f8d78e62f5a66dd3430e0bd0ce917be889b32
treea98190562600ac8c3dab8d3cc16b23419b2961c7
parent6f6fd9a9f30cbdd7b09a2c125acc51696fc08567
drm/radeon: gcc fixes for ci dpm

Newer versions of gcc seem to wander off into the
weeds when dealing with variable sizes arrays in
structs.  Rather than indexing the arrays, use
pointer arithmetic.

See bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=66932
https://bugs.freedesktop.org/show_bug.cgi?id=66972
https://bugs.freedesktop.org/show_bug.cgi?id=66945

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ci_dpm.c