From: Thierry Reding Date: Fri, 8 Nov 2013 11:30:37 +0000 (+0100) Subject: drm/tegra: Make CRTC upcasting safer X-Git-Tag: v3.13-rc4~39^2~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37826519c4dca037bda5d008b4d687c2e6f8d405;p=pandora-kernel.git drm/tegra: Make CRTC upcasting safer When upcasting a NULL CRTC object, propagate the NULL pointer instead of some invalid pointer. This allows subsequent code to check that the cast object is valid. Signed-off-by: Thierry Reding --- Reading git-diff-tree failed