aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorYong Zhao <[email protected]>2017-11-27 18:29:53 -0500
committerOded Gabbay <[email protected]>2017-11-27 18:29:53 -0500
commit82c16b4280bc42bc035af566e1480d88666126b1 (patch)
treeec3b349dea399034994f9593c58ff39413653249 /tools/perf/util/c++/clang.cpp
parentabb208a8d490bac9d765c45f20cf306757733778 (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