diff options
author | 2023-12-05 16:57:27 -0500 | |
---|---|---|
committer | 2023-12-19 15:23:52 -0500 | |
commit | 81b9aeb7b995f3870d691ec5ea95518d5b169203 (patch) | |
tree | 559f997e347e8ed16e86a44cde98a993b3b2d7dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: get dprefclk ss info from integration info table (diff) | |
download | wireguard-linux-81b9aeb7b995f3870d691ec5ea95518d5b169203.tar.xz wireguard-linux-81b9aeb7b995f3870d691ec5ea95518d5b169203.zip |
drm/amd/display: dereference variable before checking for zero
[Why]
Driver incorrectly checks if pointer variable OutBpp is null instead of
if the value being pointed to is zero.
[How]
Dereference OutBpp before checking for a value of zero.
Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Josip Pavic <josip.pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions