summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_gem.h
diff options
context:
space:
mode:
authorMaciej Purski <m.purski@samsung.com>2017-09-05 14:23:02 +0200
committerInki Dae <inki.dae@samsung.com>2017-09-20 12:05:23 +0900
commit04fc52fb222d35e1f7a0d5d85b19a676ea1e10e8 (patch)
tree66297c930d1db09cf60cbf3373f61e7a6fa1919b /drivers/gpu/drm/exynos/exynos_drm_gem.h
parent9ac30ef6d8ec3533d0feec53e268c4fa32ea700c (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud