diff options
author | Christian König <deathsimple@vodafone.de> | 2012-05-02 15:11:14 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-03 09:16:15 +0100 |
commit | 96050bca22f4fe6c8db175e02c8530a9720e5e9b (patch) | |
tree | feeb08d3e5c23e8b46891a572bd5c8b8aacf98d6 /drivers/gpu/drm/radeon/radeon_clocks.c | |
parent | 36abacaed34bc1f5bcb11ca611dd3a06c5c0ef39 (diff) |
drm/radeon: fix a bug in the SA code
Aligning offset can make it bigger than tmp->offset
leading to an overrun bug in the following subtraction.
v2: Against initial suspicions this can't happen in mainline,
so no need to push it into stable.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_clocks.c')
0 files changed, 0 insertions, 0 deletions