diff options
author | Srinivasan Shanmugam <[email protected]> | 2023-12-26 15:32:19 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-01-03 11:16:06 -0500 |
commit | b8d55a90fd55b767c25687747e2b24abd1ef8680 (patch) | |
tree | 118ae6e7de62ddf0955b380aebe55e98efac250e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 5ce9a6ad8ec48445ff6c999d064f7931f892bf2b (diff) |
drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()
Return invalid error code -EINVAL for invalid block id.
Fixes the below:
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:1183 amdgpu_ras_query_error_status_helper() error: we previously assumed 'info' could be null (see line 1176)
Suggested-by: Hawking Zhang <[email protected]>
Cc: Tao Zhou <[email protected]>
Cc: Hawking Zhang <[email protected]>
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions