drm/exynos: Add NULL pointer check
authorSachin Kamat <[email protected]>
Wed, 14 Aug 2013 11:08:03 +0000 (16:38 +0530)
committerInki Dae <[email protected]>
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 <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
drivers/gpu/drm/exynos/exynos_drm_iommu.c