diff options
author | Maciej Purski <m.purski@samsung.com> | 2017-09-05 14:23:02 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-09-20 12:05:23 +0900 |
commit | 04fc52fb222d35e1f7a0d5d85b19a676ea1e10e8 (patch) | |
tree | 66297c930d1db09cf60cbf3373f61e7a6fa1919b /drivers/gpu/drm/exynos/exynos_drm_gem.h | |
parent | 9ac30ef6d8ec3533d0feec53e268c4fa32ea700c (diff) | |
download | blackbird-op-linux-04fc52fb222d35e1f7a0d5d85b19a676ea1e10e8.tar.gz blackbird-op-linux-04fc52fb222d35e1f7a0d5d85b19a676ea1e10e8.zip |
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: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_gem.h')
0 files changed, 0 insertions, 0 deletions