diff options
| author | Alex Hung <[email protected]> | 2024-07-16 14:05:12 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-06 10:34:57 -0400 |
| commit | 9330af0af3d54df71b6b752a260dadef05a4fc44 (patch) | |
| tree | 2c3e58575799b51d24e010431987b894ce1c8f29 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4 (diff) | |
drm/amd/display: Check UnboundedRequestEnabled's value
CalculateSwathAndDETConfiguration_params_st's UnboundedRequestEnabled is
a pointer (i.e. dml_bool_t *UnboundedRequestEnabled), and thus
p->UnboundedRequestEnabled checks its address, not bool value.
To check value, *p->UnboundedRequestEnabled is used instead.
This fixes 1 REVERSE_INULL issue reported by Coverity.
Signed-off-by: Alex Hung <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Reviewed-by: Aurabindo Pillai <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions