[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120706082116.GH4462@mwanda>
Date: Fri, 6 Jul 2012 11:21:16 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Miguel Gómez <magomez@...lia.com>
Cc: devel@...verdev.osuosl.org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, arnaud.patard@...-net.org,
aaro.koskinen@....fi
Subject: Re: [PATCH 17/19] Staging: xgifb: Rework some conditions in
XGI_SetCRT2ModeRegs().
On Fri, Jul 06, 2012 at 10:16:36AM +0200, Miguel Gómez wrote:
> >On Thu, Jul 05, 2012 at 04:46:00PM +0200, Miguel Gómez wrote:
> >>Rework some conditions to reduce indentation and fix style warnings.
> >>
> >
> >Instead of a do { } while(0); it would be better to just use gotos.
>
> Point taken. I used the do-while because I didn't want to abuse
> gotos, but if there's no problem with them I'll change the patch.
>
That style of goto is fine/standard in the kernel.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists