commit | a0e41b562b3e302b47f887056d89189b816ce219 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Mon Dec 10 02:11:13 2012 -0500 |
committer | Inki Dae <daeinki@gmail.com> | Thu Dec 13 06:05:45 2012 -0800 |
tree | cf828e38c0ebe71b05d440b40c8a3bb5552459e4 | |
parent | ddd8e9594a2fc2b5bff40308483ec16a88e295ff [diff] |
drm/exynos/iommu: fix return value check in drm_create_iommu_mapping() In case of error, function arm_iommu_create_mapping() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Inki Dae <inki.dae@samsung.com>