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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux