drm: Handle drm_object_get() failures
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 13 Mar 2012 10:35:48 +0000 (12:35 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 15 Mar 2012 09:52:30 +0000 (09:52 +0000)
commit6bfc56aa89f963becbafbaeb105b6a84e0eb0db7
tree46798969a078d0e14e34ebaa13d2b24d0a53e58d
parent93bbf6dbdadbb47ef5a19aecf45669c01ee8830d
drm: Handle drm_object_get() failures

Check drm_mode_object_get() return value everywhere.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_helper.c
include/drm/drm_crtc.h