diff options
author | Alex Hung <[email protected]> | 2024-06-03 10:47:37 -0600 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-06-14 16:18:55 -0400 |
commit | c4d31653c03b90e51515b1380115d1aedad925dd (patch) | |
tree | 11babe36846f86565f2ef6cb22b752343ec6970e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 8b0ddf19cca2a352b2a7e01d99d3ba949a99c84c (diff) |
drm/amd/display: Skip wbscl_set_scaler_filter if filter is null
Callers can pass null in filter (i.e. from returned from the function
wbscl_get_filter_coeffs_16p) and a null check is added to ensure that is
not the case.
This fixes 4 NULL_RETURNS issues 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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions