diff options
author | Dave Airlie <airlied@redhat.com> | 2010-05-19 10:35:02 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-19 10:35:02 +1000 |
commit | 669899878cfe0cd0c1fe60104f3d39b95a80e1d8 (patch) | |
tree | 5995a6e227145f45760ef37136b8b75933a0fdd3 /drivers/gpu/drm/radeon/r600_hdmi.c | |
parent | 8e36ed00842668a39a6ed1b0a00b8ac92b7c4cd5 (diff) | |
download | linux-3.10-669899878cfe0cd0c1fe60104f3d39b95a80e1d8.tar.gz linux-3.10-669899878cfe0cd0c1fe60104f3d39b95a80e1d8.tar.bz2 linux-3.10-669899878cfe0cd0c1fe60104f3d39b95a80e1d8.zip |
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/drm/radeon/r600_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_hdmi.c | 2 |
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; |