summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2018-10-02 18:41:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-10-04 11:37:25 -0400
commit11b29c9e25788d0afb2ddb67bcd89424bd25f2f7 (patch)
tree12b50c02a89f402ac4f77a9fbd20c32056a56d0c /.clang-format
parent987bf116445db5d63a5c2ed94c4479687d9c9973 (diff)
drm/amdkfd: Fix incorrect use of process->mm
This mm_struct pointer should never be dereferenced. If running in a user thread, just use current->mm. If running in a kernel worker use get_task_mm to get a safe reference to the mm_struct. Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions