From: Dave Airlie Date: Wed, 19 May 2010 00:35:02 +0000 (+1000) Subject: drm/radeon: fix hdmi offset bug reported by smatch. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=669899878cfe0cd0c1fe60104f3d39b95a80e1d8;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git drm/radeon: fix hdmi offset bug reported by smatch. Reported-by: Dan Carpenter Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c index 40b1aca6d1f4..26b4bc9d89a5 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;