OSDN Git Service

drm/exynos: Add NULL pointer check
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 14 Aug 2013 11:08:03 +0000 (16:38 +0530)
committerInki Dae <inki.dae@samsung.com>
Thu, 5 Sep 2013 04:43:43 +0000 (13:43 +0900)
commit4db7fcdf59551d9d0a9fe59bd919a32feae925b2
treec586e4865da2416963e3d69aea6e55a60d9137e0
parent38bb5253a95f2eb8cb765b7ab88aac686de6cb12
drm/exynos: Add NULL pointer check

devm_kzalloc can fail. Hence check the pointer to avoid NULL pointer
dereferencing.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_iommu.c