From: Inki Dae Date: Fri, 7 Nov 2014 11:31:08 +0000 (+0900) Subject: drm/exynos: g2d: fix null pointer dereference X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~27^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d15118750fd69a50cf286d3fc275546fa0b5857;p=pandora-kernel.git drm/exynos: g2d: fix null pointer dereference This patch fixes a null pointer dereference issue incurred by calling g2d_remove when exynos_drm_platform_probe is failed. cmdlist_pool of g2d is allocated when g2d sub driver is probed. So if exynos_drm_platform_probe is failed, the g2d sub driver is not probed and the cmdlist_pool is still NULL. Signed-off-by: Inki Dae --- Reading git-diff-tree failed