diff options
| author | Josip Pavic <[email protected]> | 2023-12-05 16:57:27 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-12-19 14:59:02 -0500 |
| commit | 3582e0ba8a675d72c3cc6dd1b847e6aa757845da (patch) | |
| tree | 99572c3e759889a3a2cb57f59e326ffdf7c96bc3 /tools/perf/scripts/python | |
| parent | 72eaa723187b87f1793529eaadbcfaa836c17812 (diff) | |
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 <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Signed-off-by: Josip Pavic <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions