[COMMON] iommu/exynos: fix possible NULL pointer dereference
authorCho KyongHo <pullip.cho@samsung.com>
Thu, 5 Jan 2017 13:59:33 +0000 (22:59 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:20 +0000 (19:45 +0900)
commit5ea147f9719ed80234ff3dcf8b204319e1bc045e
tree3f108d9a8598d580ce08461baf218133068026e9
parentb99d971ecfb521f44e1c8bdbc70d89eaa5789b8e
[COMMON] iommu/exynos: fix possible NULL pointer dereference

find_vma() may return NULL. It should be checked even though
exynos_iovmm_map_userptr() requires the callers to acquire mmap_sem.

SVACE WGID 87553

Change-Id: Ice3239234dc46177bce5963444f0c4cbc094fe40
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/iommu/exynos-iovmm.c