aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStanley.Yang <[email protected]>2023-09-27 16:22:29 +0800
committerAlex Deucher <[email protected]>2023-10-09 16:52:46 -0400
commit80285ae1ec8717b597b20de38866c29d84d321a1 (patch)
tree4600c790785a6b026f5544c3f8de54f65f1d696d /tools/perf/scripts/python
parent098c13079c6fdd44f10586b69132c392ebf87450 (diff)
drm/amdgpu: Fix potential null pointer derefernce
The amdgpu_ras_get_context may return NULL if device not support ras feature, so add check before using. Signed-off-by: Stanley.Yang <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions