From: Subash Patel Date: Mon, 25 Jun 2012 18:22:57 +0000 (-0700) Subject: drm/exynos: check for null in return value of dma_buf_map_attachment() X-Git-Tag: v3.6-rc1~59^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dd3b72cc66117e5c6dc638f55e4f2e5cc60ed70;p=pandora-kernel.git drm/exynos: check for null in return value of dma_buf_map_attachment() dma_buf_map_attachment() can return NULL and valid sg as return value. Hence the check for the returned scatter-gather must be using the inline function IS_ERR_OR_NULL() in place of IS_ERR() Signed-off-by: Subash Patel Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- Reading git-diff-tree failed