diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2018-01-26 09:32:29 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-01-29 23:09:31 -0500 |
commit | 95244db2d3f743f37e69446a2807dd1a42750542 (patch) | |
tree | 047c4687d945693ccbe4e5864c69a6e52c0851eb /drivers/ps3/ps3av_cmd.c | |
parent | a86170290c38ca1dad556a42f1d57f39dd62af45 (diff) |
drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2)
The buf pointer was not being incremented inside the loop
meaning the same block of data would be read or written
repeatedly.
(v2) Change 'buf' pointer to uint8_t* type
Cc: stable@vger.kernel.org
Fixes: 09ac4fcb3f25 ("drm/ttm: Implement vm_operations_struct.access v2")
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/ps3/ps3av_cmd.c')
0 files changed, 0 insertions, 0 deletions