aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/posix-cpu-timers.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2011-10-18 20:10:05 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-25 07:10:14 +0200
commitf62f4cad504f32e9d4e407ea5ba8a743da399a8a (patch)
tree9f822122eb36cd6eb496fa95da32f4e5e590c262 /kernel/posix-cpu-timers.c
parent60635529f6aec7572ae7009aabd80558cf2f43b4 (diff)
downloadkernel_samsung_smdk4412-f62f4cad504f32e9d4e407ea5ba8a743da399a8a.zip
kernel_samsung_smdk4412-f62f4cad504f32e9d4e407ea5ba8a743da399a8a.tar.gz
kernel_samsung_smdk4412-f62f4cad504f32e9d4e407ea5ba8a743da399a8a.tar.bz2
drm/radeon/kms/atom: fix handling of FB scratch indices
commit 5a6e8482a16e61250a9121fc9ec719ab0529e760 upstream. FB scratch indices are dword indices, but we were treating them as byte indices. As such, we were getting the wrong FB scratch data for non-0 indices. Fix the indices and guard the indexing against indices larger than the scratch allocation. Fixes memory corruption on some boards if data was written past the end of the FB scratch array. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reported-by: Dave Airlie <airlied@redhat.com> Tested-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions