From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH 1/4] mfd: Kontron PLD mfd driver Date: Thu, 18 Apr 2013 06:35:55 -0700 Message-ID: <20130418133555.GA2767@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1366260053.28609.66.camel@joe-AO722> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Joe Perches Cc: Thomas Gleixner , Kevin Strasser , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michael Brunner , Samuel Ortiz , Wolfram Sang , Ben Dooks , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Grant Likely , Linus Walleij , Wim Van Sebroeck , linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Darren Hart , Michael Brunner , Greg Kroah-Hartman List-Id: linux-i2c@vger.kernel.org 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. Thanks, Guenter