From: Paulo Zanoni Date: Tue, 15 May 2012 21:09:00 +0000 (-0300) Subject: drm: WARN() when drm_connector_attach_property fails X-Git-Tag: v3.5-rc1~100^2~44 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afea2ad53f1fef0b57d0e59fa062f54797158b14;p=pandora-kernel.git drm: WARN() when drm_connector_attach_property fails 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_CONNECTOR_MAX_PROPERTY and recompile the Kernel. Signed-off-by: Paulo Zanoni Reviewed-by: Rob Clark Tested-by: Rob Clark Signed-off-by: Dave Airlie --- Reading git-diff-tree failed