Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348Ab3DRSjo (ORCPT ); Thu, 18 Apr 2013 14:39:44 -0400 Received: from mail.active-venture.com ([67.228.131.205]:63286 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210Ab3DRSjl (ORCPT ); Thu, 18 Apr 2013 14:39:41 -0400 X-Originating-IP: 108.223.40.66 Date: Thu, 18 Apr 2013 11:40:03 -0700 From: Guenter Roeck To: Joe Perches Cc: Thomas Gleixner , Kevin Strasser , linux-kernel@vger.kernel.org, Michael Brunner , Samuel Ortiz , Wolfram Sang , Ben Dooks , linux-i2c@vger.kernel.org, Grant Likely , Linus Walleij , Wim Van Sebroeck , linux-watchdog@vger.kernel.org, Darren Hart , Michael Brunner , Greg Kroah-Hartman Subject: Re: [PATCH 1/4] mfd: Kontron PLD mfd driver Message-ID: <20130418184003.GA8251@roeck-us.net> References: <1365441321-21952-1-git-send-email-kevin.strasser@linux.intel.com> <20130418041940.GB7535@roeck-us.net> <1366260053.28609.66.camel@joe-AO722> <20130418133555.GA2767@roeck-us.net> <1366303337.2119.22.camel@joe-AO722> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366303337.2119.22.camel@joe-AO722> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1560 Lines: 39 On Thu, Apr 18, 2013 at 09:42:17AM -0700, Joe Perches wrote: > On Thu, 2013-04-18 at 06:35 -0700, Guenter Roeck wrote: > > On Wed, Apr 17, 2013 at 09:40:53PM -0700, Joe Perches wrote: > > > On Wed, 2013-04-17 at 21:19 -0700, Guenter Roeck wrote: > > > > On Sat, Apr 13, 2013 at 10:38:07PM +0200, Thomas Gleixner wrote: > > > > > > + return kempld_read8(pld, index) | kempld_read8(pld, index+1) << 8; > > > > > index + 1) > > > > > Please > > > > Wondering .... why does checkpatch not report those ? > > > > > > because checkpatch doesn't care about spacing around > > > arithmetic as long as it's consistent. > > > > > > Documentation/CodingStyle doesn't say anything about > > > it either. > > > > > Hi Joe, > > > > "Use one space around (on each side of) most binary and ternary operators" > > > > doesn't apply, then ? When does it apply ? I always thought it would apply > > to cases such as the above. > > There's a _lot_ of code that doesn't follow the > "single space around binary operators" style, > it's contentious, and was determined when Andy > did the original checkpatch implementation to not > be a valuable addition or worth the complaint pain. > Looks like it is contentious either way. Thanks a lot for the clarification. Guenter -- 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/