Skip to content
Commit 49099c49 authored by Dave Airlie's avatar Dave Airlie
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 12f0e670
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment