Commit 66989987 authored by Dave Airlie's avatar Dave Airlie

drm/radeon: fix hdmi offset bug reported by smatch.

Reported-by: Dan Carpenter
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 8e36ed00
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment