[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1206549046.4845.220.camel@localhost>
Date: Wed, 26 Mar 2008 09:30:46 -0700
From: Joe Perches <joe@...ches.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Al Viro <viro@...IV.linux.org.uk>, J?rn Engel <joern@...fs.org>,
David Miller <davem@...emloft.net>, jirislaby@...il.com,
tglx@...utronix.de, linux-kernel@...r.kernel.org,
Andy Whitcroft <apw@...dowen.org>
Subject: Re: [patch] bkl2mtd: cleanup
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists