From: Dave Airlie Date: Fri, 6 Jul 2012 17:06:42 +0000 (+0100) Subject: drm: fail gracefully when proc isn't setup. X-Git-Tag: v3.6-rc1~83^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49099c4991da3c94773f888aea2e9d27b8a7c6d1;p=pandora-kernel.git drm: fail gracefully when proc isn't setup. If drm can't find proc it should fail more gracefully, than just oopsing, this tests drm_class is NULL, and sets it to NULL in the fail paths. Reported-by: Fengguang Wu Signed-off-by: Dave Airlie --- Reading git-diff-tree failed