[Swan-dev] addresspool.c: fix coding style for while loops

Tuomo Soini tis at foobar.fi
Wed Apr 23 23:28:18 EEST 2014


On Mon, 21 Apr 2014 22:48:05 +0200
Antony Antony <antony at phenome.org> wrote:

> Tuomo,
> I pushed the changes to #master which came out of DHR's review. That
> means style fixes are gone:) sorry it was a lot of reordering.
> 
> Are you running a script or doing it manually? If it is script I
> could try myself.

That's all manual work. indent would be the tool to try if you want
automation. But I found out manual approach best. And before I commit I
use checkpatch.pl from kernel to test changes.

git diff | checkpatch.pl --no-tree --no-signoff - | less


-- 
Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>


More information about the Swan-dev mailing list