Re: [RFC] Cleanup line-wrapping in pgtable.h

From: Alexey Dobriyan
Date: Wed Aug 17 2005 - 14:40:39 EST


On Wed, Aug 17, 2005 at 06:56:01PM +0100, Christoph Hellwig wrote:
> > +static inline int pte_user(pte_t pte)
> > + { return (pte).pte_low & _PAGE_USER; }
>
> Once you start reformatting things please make sure the result version
> matches the documented codingstyle. That would be:
>
> static inline int pte_user(pte_t pte)
> {
> return (pte).pte_low & _PAGE_USER;
^ ^
> }
>
> Quite a bit more verbose, but also a lot better readable.

Don't forget to drop "(" and ")".

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