diff options
author | Yong Zhao <[email protected]> | 2017-11-27 18:29:53 -0500 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2017-11-27 18:29:53 -0500 |
commit | 82c16b4280bc42bc035af566e1480d88666126b1 (patch) | |
tree | ec3b349dea399034994f9593c58ff39413653249 /tools/perf/util/c++/clang.cpp | |
parent | abb208a8d490bac9d765c45f20cf306757733778 (diff) |
drm/amdkfd: Return NULL if kfd_lookup_process_by_pasid fails
If no matching process is found, return NULL instead of a pointer
to the last process in the kfd_processes_table.
Signed-off-by: Yong Zhao <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions