This replaces a WARN() with drm_warn() in validate_blend_mode_for_alpha_formats().
The condition is expected to be triggered by existing drivers while they adapt to the new blend mode requirement, so it should not use the kernel warning report mechanism. WARN() output can cause fuzzers to stop when they encounter a "WARNING:" message. drm_warn() keeps the warning visible to driver developers without triggering a WARN(). Changes in v2: - Make the warning message more explicit - Add a "Fixes" tag to commit Leandro Ribeiro (1): drm: use drm_warn() in validate_blend_mode_for_alpha_formats() drivers/gpu/drm/drm_mode_config.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.55.0
