diff options
author | 2024-12-17 11:51:58 -0700 | |
---|---|---|
committer | 2025-01-10 12:04:06 -0500 | |
commit | e2c4c6c10542ccfe4a0830bb6c9fd5b177b7bbb7 (patch) | |
tree | 989495fd08184fe68fe4e6e8dc6120c8ec4584bc /scripts/generate_rust_analyzer.py | |
parent | drm/amd/display: Extend secure display to support DisplayCRC mode (diff) | |
download | wireguard-linux-e2c4c6c10542ccfe4a0830bb6c9fd5b177b7bbb7.tar.xz wireguard-linux-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 <austin.zheng@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions