summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-05-19 10:35:02 +1000
committerDave Airlie <airlied@redhat.com>2010-05-19 10:35:02 +1000
commit669899878cfe0cd0c1fe60104f3d39b95a80e1d8 (patch)
tree5995a6e227145f45760ef37136b8b75933a0fdd3 /drivers/gpu
parent8e36ed00842668a39a6ed1b0a00b8ac92b7c4cd5 (diff)
drm/radeon: fix hdmi offset bug reported by smatch.
Reported-by: Dan Carpenter Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/r600_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c
index 40b1aca6d1f..26b4bc9d89a 100644
--- a/drivers/gpu/drm/radeon/r600_hdmi.c
+++ b/drivers/gpu/drm/radeon/r600_hdmi.c
@@ -539,7 +539,7 @@ void r600_hdmi_disable(struct drm_encoder *encoder)
struct drm_device *dev = encoder->dev;
struct radeon_device *rdev = dev->dev_private;
struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder);
- uint8_t offset;
+ uint32_t offset;
if (ASIC_IS_DCE4(rdev))
return;