projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d48d88b
)
drm/radeon/dpm: fix incompatible casting on big endian
author
Alex Deucher
<
[email protected]
>
Wed, 23 Oct 2013 20:13:42 +0000
(16:13 -0400)
committer
Alex Deucher
<
[email protected]
>
Wed, 23 Oct 2013 20:25:18 +0000
(16:25 -0400)
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 <
[email protected]
>
drivers/gpu/drm/radeon/radeon.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon.h
b/drivers/gpu/drm/radeon/radeon.h
index a400ac1c414715423064874d37f047b426f7fe19..24f4960f59ee57be931f3f5301528a859469a016 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon.h
+++ b/
drivers/gpu/drm/radeon/radeon.h
@@
-1272,8
+1272,8
@@
struct radeon_blacklist_clocks
struct radeon_clock_and_voltage_limits {
u32 sclk;
u32 mclk;
- u
32
vddc;
- u
32
vddci;
+ u
16
vddc;
+ u
16
vddci;
};
struct radeon_clock_array {