aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRodrigo Siqueira <[email protected]>2024-05-29 08:57:02 -0600
committerAlex Deucher <[email protected]>2024-06-14 16:17:17 -0400
commit9d8152cd1be1c1049dc7d70e2f0a01989d1d9a17 (patch)
tree24b4470b71aa58738a7d7e95ab3e26fb3c6a6e33 /tools/perf/scripts/python/export-to-postgresql.py
parent7c70e60fbf4bff1123f0e8d5cb1ae71df6164d7f (diff)
drm/amd/display: Check otg_master pointer before use it
Coverity highlighted that the parameter otg_master is referenced before the if condition that validates it, which means that the code might have some attempt to access a null pointer. This commit addresses this issue by moving the pointer verification to the beginning of the function and initializing all the values right after it. Acked-by: Zaeem Mohamed <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions