On Mon, Jun 04, 2007 at 12:02:28PM -0700, Jeremy Fitzhardinge wrote: >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 I agree. Local labels maybe useful in macros. If someone will use local labels in his code some day, we shouldn't force him to align his labels in the first column. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: WANG Cong <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: Al Viro <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: Randy Dunlap <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: Jeff Garzik <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: WANG Cong <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels
- From: Jeremy Fitzhardinge <[email protected]>
- [RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)
- From: WANG Cong <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)
- From: Sam Ravnborg <[email protected]>
- Re: [RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)
- From: Jeremy Fitzhardinge <[email protected]>
- [RFC] Documentation/CodingStyle: Add rules for goto labels
- Prev by Date: [PATCH/RFC] signal races/bugs, losing TIF_SIGPENDING and other woes
- Next by Date: Re: Intel's response Linux/MTRR/8GB Memory Support / Why doesn't the kernel realize the BIOS has problems and re-map appropriately?
- Previous by thread: Re: [RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)
- Next by thread: Re: [RFC] Documentation/CodingStyle: Add rules for goto labels (-v2)
- Index(es):