Re: [patch] bkl2mtd: cleanup

From: Joe Perches
Date: Wed Mar 26 2008 - 12:32:15 EST


On Wed, 2008-03-26 at 12:10 +0100, Ingo Molnar wrote:
> not a "simple one-line function prototype" anymore,
> so i use the same template for everything:
>
> type
> function_name(vars ...
> more vars ...)
> {

It seems the most common linux style keeps type and function
on the same line where possible and arguments on subsequent
lines when necessary.

type function_name(args...)

type function_name(args_to_col80,
more_args...)

Perhaps that should be your default template.

--
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/