diff options
author | Dave Airlie | 2012-07-06 19:06:42 +0200 |
---|---|---|
committer | Dave Airlie | 2012-07-15 21:57:03 +0200 |
commit | 49099c4991da3c94773f888aea2e9d27b8a7c6d1 (patch) | |
tree | 5b9f72eacf9893432cf03699011d8335796003ff /include/drm/drm_mm.h | |
parent | Merge tag 'drm-intel-next-2012-07-06' of git://people.freedesktop.org/~danvet... (diff) | |
download | kernel-qcow2-linux-49099c4991da3c94773f888aea2e9d27b8a7c6d1.tar.gz kernel-qcow2-linux-49099c4991da3c94773f888aea2e9d27b8a7c6d1.tar.xz kernel-qcow2-linux-49099c4991da3c94773f888aea2e9d27b8a7c6d1.zip |
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 <fengguang.wu@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_mm.h')
0 files changed, 0 insertions, 0 deletions