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

From: Christoph Hellwig
Date: Wed Aug 17 2005 - 12:56:24 EST


> +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.

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