Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752601AbWLOOSu (ORCPT ); Fri, 15 Dec 2006 09:18:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752612AbWLOOSu (ORCPT ); Fri, 15 Dec 2006 09:18:50 -0500 Received: from hp3.statik.TU-Cottbus.De ([141.43.120.68]:46420 "EHLO hp3.statik.tu-cottbus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752601AbWLOOSu (ORCPT ); Fri, 15 Dec 2006 09:18:50 -0500 Message-ID: <4582AEC8.7030608@s5r6.in-berlin.de> Date: Fri, 15 Dec 2006 15:18:48 +0100 From: Stefan Richter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.8) Gecko/20061030 SeaMonkey/1.0.6 MIME-Version: 1.0 To: Pavel Machek CC: Randy Dunlap , lkml , jesper.juhl@gmail.com, akpm Subject: Re: [PATCH/v2] CodingStyle updates References: <20061207165508.e6bf0269.randy.dunlap@oracle.com> <20061215120942.GA4551@ucw.cz> In-Reply-To: <20061215120942.GA4551@ucw.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 738 Lines: 24 Pavel Machek wrote: >> From: Randy Dunlap >> +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; Which would be very misleading. This expression evaluates to j = (((3 * i) + l) << 2); Binary + precedes <<. -- Stefan Richter -=====-=-==- ==-- -==== http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/