[dm-devel] Re: New kernel shared snapshots

Christoph Hellwig hch at infradead.org
Wed Aug 26 02:02:36 UTC 2009


On Tue, Aug 25, 2009 at 10:43:33AM -0400, Mikulas Patocka wrote:
> 
> I mean, if I have function
> static struct some_structure *some_function(int a, int b, int c,
>                                             int d, long long e,
>                                             struct blablabla *p)

Don't align additional paramter lines to after the opening brace,
but always two tabs from column zero, e.g.

static struct some_structure *some_function(int a, int b, int c,
		int d, long long e, struct blablabla *p)

also much easier to edit, especially if the function name and/or return
type changes.

And yes, except maye for printks absolutely stick to the 80 column
limit, it's an absolute pain to read otherwise.




More information about the dm-devel mailing list