diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-10-11 20:41:32 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-12 14:18:06 +0400 |
commit | d31dba58480c3cdd458f449261d72ecd15287792 (patch) | |
tree | 08062c96024e96321e47ae501b518b5e1308bc5c /drivers/gpu | |
parent | 40f76d81fb45c1399f93500afa2aed9f84f7dee6 (diff) | |
download | linux-d31dba58480c3cdd458f449261d72ecd15287792.tar.xz |
drm/radeon/kms: fix bad cast/shift in evergreen.c
Missing parens.
fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=30718
Reported-by: Dave Gilbert <freedesktop@treblig.org>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index a90f0c03b838..2f93d46ae69a 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -1137,7 +1137,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev) WREG32(RCU_IND_INDEX, 0x203); efuse_straps_3 = RREG32(RCU_IND_DATA); - efuse_box_bit_127_124 = (u8)(efuse_straps_3 & 0xF0000000) >> 28; + efuse_box_bit_127_124 = (u8)((efuse_straps_3 & 0xF0000000) >> 28); switch(efuse_box_bit_127_124) { case 0x0: |