Skip to content

Commit

Permalink
drm/radeon: fix hdmi offset bug reported by smatch.
Browse files Browse the repository at this point in the history
Reported-by: Dan Carpenter
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed May 19, 2010
1 parent 8e36ed0 commit 6698998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/r600_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6698998

Please sign in to comment.