Re: [CHECKER] 56 potential lock/unlock bugs in 2.5.8

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Thu Jul 11 2002 - 20:44:35 EST


Em Thu, Jul 11, 2002 at 05:21:50PM -0700, Andrew Morton escreveu:
> Thunder from the hill wrote:
> > Here is the whole set.
 
> It's fair enough for a fix I guess. But careful readers will
> have observed that a goodly portion of these bugs are directly
> due to the poor programming practice of putting more than one
> return statement in a C function.

woohooo!

"gotos considered !harmful"

8)

<asbestos suit>
- Arnaldo (that will continue putting more gotos in the kernel (hopefully)
           where they make sense, _clarifying_ the code and making it
           more maintainable 8) )
</asbestos suit>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:21 EST