summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_fence.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-06 17:06:42 (GMT)
committerDave Airlie <airlied@gmail.com>2012-07-15 19:57:03 (GMT)
commit49099c4991da3c94773f888aea2e9d27b8a7c6d1 (patch)
tree5b9f72eacf9893432cf03699011d8335796003ff /drivers/gpu/drm/radeon/radeon_fence.c
parent12f0e670ff2ae5a59984ffae036ddd739cf10b09 (diff)
downloadlinux-49099c4991da3c94773f888aea2e9d27b8a7c6d1.tar.xz
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 'drivers/gpu/drm/radeon/radeon_fence.c')
0 files changed, 0 insertions, 0 deletions