]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: additional gcc fixes for radeon_atombios.c
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2013 21:46:00 +0000 (17:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Sep 2013 18:28:15 +0000 (14:28 -0400)
commit178fe35441c8ddad0897394f945a510ad705339f
tree0a75a7876ca1ba59fb14dc9b8445ea0d76e54352
parent60bda515cd45c11774258c0493df200a04f6acdf
drm/radeon: additional gcc fixes for radeon_atombios.c

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.

Fix up spread spectrum tables.

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/radeon_atombios.c