[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080618155036.GB3887@loki.buserror.net>
Date: Wed, 18 Jun 2008 10:50:36 -0500
From: Scott Wood <scottwood@...escale.com>
To: John Rigby <jrigby@...escale.com>
Cc: linuxppc-dev@...abs.org, jeff@...zik.org,
Sam Ravnborg <sam@...nborg.org>, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] fs_enet: fix checkpatch.pl problems
On Tue, Jun 17, 2008 at 05:03:13PM -0600, John Rigby wrote:
> static int __devinit find_phy(struct device_node *np,
> - struct fs_platform_info *fpi)
> + struct fs_platform_info *fpi)
Please don't make this sort of change. Spaces were used deliberately,
because it's alignment rather than indentation, and using tabs would make
things be unaligned with tab sizes other than 8, and (as can be seen above)
in patches.
Unfortunately, it's non-trivial to make checkpatch tell the difference
between the two (it would need to parse the language rather than do a simple
regex).
-Scott
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists