Loading
drm/amd/display: Skip wbscl_set_scaler_filter if filter is null
stable inclusion from stable-v6.6.50 commit e3a95f29647ae45d1ec9541cd7df64f40bf2120a category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IARVI0 CVE: CVE-2024-46714 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e3a95f29647ae45d1ec9541cd7df64f40bf2120a -------------------------------- [ Upstream commit c4d31653c03b90e51515b1380115d1aedad925dd ] 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 <harry.wentland@amd.com> Acked-by:
Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by:
Alex Hung <alex.hung@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Lin Yujun <linyujun809@huawei.com>