diff options
author | 2024-06-06 21:23:39 -0600 | |
---|---|---|
committer | 2024-06-19 12:46:14 -0400 | |
commit | a7b38c7852093385d0605aa3c8a2efd6edd1edfd (patch) | |
tree | ec5909974103a1eba80d607d5ca21c3bbd525e38 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Remove redundant checks for context (diff) | |
download | wireguard-linux-a7b38c7852093385d0605aa3c8a2efd6edd1edfd.tar.xz wireguard-linux-a7b38c7852093385d0605aa3c8a2efd6edd1edfd.zip |
drm/amd/display: Check UnboundedRequestEnabled's value
CalculateSwathAndDETConfiguration_params_st's UnboundedRequestEnabled
is a pointer (i.e. dml_bool_t *UnboundedRequestEnabled), and thus
if (p->UnboundedRequestEnabled) checks its address, not bool value.
This fixes 1 REVERSE_INULL issue reported by Coverity.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Hung <alex.hung@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