Re: [PATCH/v2] CodingStyle updates

From: Pavel Machek
Date: Fri Dec 15 2006 - 07:10:32 EST


Hi!

> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Add some kernel coding style comments, mostly pulled from emails
> by Andrew Morton, Jesper Juhl, and Randy Dunlap.
...
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Acked-by: Jesper Juhl <jesper.juhl@xxxxxxxxx>

ACK.

> +Use one space around (on each side of) most binary and ternary operators,
> +such as any of these:
> + = + - < > * / % | & ^ <= >= == != ? :

Actually, this should not be hard rule. We want to allow

j = 3*i + l<<2;
Pavel
--
Thanks for all the (sleeping) penguins.
-
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/