]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dpm: fix incompatible casting on big endian
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Oct 2013 20:13:42 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Oct 2013 20:25:18 +0000 (16:25 -0400)
commit49c8aed2188cca3ce86be12f11383ef5ea6dd671
tree9ce8ecf12c509ae70e0158ce96bc147e900a276b
parent6a7d2acf59bb006c12d52885f4766bc13f1a1fb3
drm/radeon/dpm: fix incompatible casting on big endian

We use u16 for voltage values throughout the driver so switch
the table values to a u16 as well.  Fixes an incompatible
cast error in ci_patch_clock_voltage_limits_with_vddc_leakage()
picked up by coverity.

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