aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-12-17 18:51:58 +0000
committerAlex Deucher <[email protected]>2025-01-10 17:04:06 +0000
commite2c4c6c10542ccfe4a0830bb6c9fd5b177b7bbb7 (patch)
tree989495fd08184fe68fe4e6e8dc6120c8ec4584bc /drivers/cdx/controller/cdx_controller.c
parentdrm/amd/display: Extend secure display to support DisplayCRC mode (diff)
downloadkernel-e2c4c6c10542ccfe4a0830bb6c9fd5b177b7bbb7.tar.gz
kernel-e2c4c6c10542ccfe4a0830bb6c9fd5b177b7bbb7.zip
drm/amd/display: Initialize denominator defaults to 1
[WHAT & HOW] Variables, used as denominators and maybe not assigned to other values, should be initialized to non-zero to avoid DIVIDE_BY_ZERO, as reported by Coverity. Reviewed-by: Austin Zheng <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions