From: Ville Syrjälä Date: Thu, 15 Mar 2012 17:58:31 +0000 (+0200) Subject: drm: Unify and fix idr error handling X-Git-Tag: v3.5-rc1~83^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1ae126cdf1d1514da6e89a248232a7f7d315fe0;p=pandora-kernel.git drm: Unify and fix idr error handling The error handling code w.r.t. idr usage looks inconsistent. In the case of drm_mode_object_get() and drm_ctxbitmap_next() the error handling is also incomplete. Unify the code to follow the same pattern always. Signed-off-by: Ville Syrjälä Signed-off-by: Dave Airlie --- Reading git-diff-tree failed