[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Apr 2007 22:06:34 +0200 (MEST)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: Randy Dunlap <randy.dunlap@...cle.com>
cc: Tony Lindgren <tony@...mide.com>, linux-kernel@...r.kernel.org,
David Brownell <dbrownell@...rs.sourceforge.net>
Subject: Re: [PATCH 25/90] ARM: OMAP: h4 must have blinky leds!!
On Apr 4 2007 12:00, Randy Dunlap wrote:
>
>> +static int __init fpga_init(void)
>> +{
>> + if (machine_is_omap_h4()
>> + || machine_is_omap_h3()
>> + || machine_is_omap_h2()
>> + || machine_is_omap_perseus2()
>> + )
>
>Perhaps there is nothing in CodingStyle for if () continuation
>lines. Looks like it is needed. This is ETOOMUCHINDENTATION by
>at least one tab. Should be more like:
>
>+ if (machine_is_omap_h4()
>+ || machine_is_omap_h3()
>+ || machine_is_omap_h2()
>+ || machine_is_omap_perseus2())
My stance, || goes at EOL, and final ) not standalone:
if (foo ||
bar ||
baz ||
etc)
do_something;
Jan
--
-
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