Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
- Loading branch information