aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-06-07 03:23:39 +0000
committerAlex Deucher <[email protected]>2024-06-19 16:46:14 +0000
commita7b38c7852093385d0605aa3c8a2efd6edd1edfd (patch)
treeec5909974103a1eba80d607d5ca21c3bbd525e38 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentdrm/amd/display: Remove redundant checks for context (diff)
downloadkernel-a7b38c7852093385d0605aa3c8a2efd6edd1edfd.tar.gz
kernel-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 <[email protected]> Acked-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions