[PATCH 13/15] drm: Eliminate pointless goto

2012-03-15 Thread Ville Syrjälä
On Thu, Mar 15, 2012 at 09:57:53AM +, Dave Airlie wrote: > > Use a do {} while() loop instead of a goto in drm_mode_object_get(). > > I don't like this one just because it diverges our idr usage from the > canonical idr usage at > > http://lwn.net/Articles/103209/ > > So unless there is a go

Re: [PATCH 13/15] drm: Eliminate pointless goto

2012-03-15 Thread Ville Syrjälä
On Thu, Mar 15, 2012 at 09:57:53AM +, Dave Airlie wrote: > > Use a do {} while() loop instead of a goto in drm_mode_object_get(). > > I don't like this one just because it diverges our idr usage from the > canonical idr usage at > > http://lwn.net/Articles/103209/ > > So unless there is a go

[PATCH 13/15] drm: Eliminate pointless goto

2012-03-15 Thread Dave Airlie
> Use a do {} while() loop instead of a goto in drm_mode_object_get(). I don't like this one just because it diverges our idr usage from the canonical idr usage at http://lwn.net/Articles/103209/ So unless there is a good reason for the change I'd rather not apply it. I've applied the other pat

Re: [PATCH 13/15] drm: Eliminate pointless goto

2012-03-15 Thread Dave Airlie
> Use a do {} while() loop instead of a goto in drm_mode_object_get(). I don't like this one just because it diverges our idr usage from the canonical idr usage at http://lwn.net/Articles/103209/ So unless there is a good reason for the change I'd rather not apply it. I've applied the other pat

[PATCH 13/15] drm: Eliminate pointless goto

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? Use a do {} while() loop instead of a goto in drm_mode_object_get(). Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_cr

[PATCH 13/15] drm: Eliminate pointless goto

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä Use a do {} while() loop instead of a goto in drm_mode_object_get(). Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_crtc.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_cr