Skip to content
Commit 04fc52fb authored by Maciej Purski's avatar Maciej Purski Committed by Inki Dae
Browse files

drm/exynos/hdmi: Fix unsafe list iteration



Function hdmi_mode_fixup() used bare list_for_each entry, which was
unsafe and caused memory corruption detected by kasan.
It now uses drm_for_each_connector_iter macro, which is now recommended
by the documentation and safe.

Signed-off-by: default avatarMaciej Purski <m.purski@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 9ac30ef6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment