Re: [RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)

From: Jeremy Fitzhardinge
Date: Mon Jun 04 2007 - 15:02:51 EST


Sam Ravnborg wrote:
> If local(__label__) really so widely used in the kernel that it deserves
> a place in coding-style?
> A quick grep did not say so.
>

Probably not, and its use shouldn't be (even tacitly) encouraged. It's
only really useful for defining a local label within a macro, and
there's probably something wrong with your macro if you need a local label.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/