Re: [RFC] Documentation/CodingStyle: Add rules for goto labels

From: H. Peter Anvin
Date: Mon Jun 04 2007 - 17:36:18 EST


Jeremy Fitzhardinge wrote:
> H. Peter Anvin wrote:
>> goto labels are scoped in one sense: they are only reachable from inside
>> the block they are defined in, so I would disagree with this statement.
>>
>
> Erm, no I think you're wrong there

Yeah, I realized I was talking out of my ass there when Viro pointed
this out. I has inadvertently generalized the rule "no skipping
automatics" to "no jump into blocks."

-hpa
-
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/