[PATCH] drm: WARN() when drm_connector_attach_property fails

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Also return void instead of int. We have more than 100 callers and no one checks for the return value. If this function fails the property won't be exposed by the get/set ioctls, but we should probably survive. If this starts happening, the solution will be to increase DRM_CON

[PATCH] drm: WARN() when drm_connector_attach_property fails

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni Also return void instead of int. We have more than 100 callers and no one checks for the return value. If this function fails the property won't be exposed by the get/set ioctls, but we should probably survive. If this starts happening, the solution will be to increase DRM_CON