Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752734AbcDFSKu (ORCPT ); Wed, 6 Apr 2016 14:10:50 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35094 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751776AbcDFSKs (ORCPT ); Wed, 6 Apr 2016 14:10:48 -0400 Date: Wed, 6 Apr 2016 20:10:48 +0200 From: Johan Hovold To: Grigori Goronzy Cc: Joe Perches , Johan Hovold , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 10/14] USB: ch341: fix coding style Message-ID: <20160406181048.GC29820@localhost> References: <1459616843-23829-1-git-send-email-greg@chown.ath.cx> <1459616843-23829-11-git-send-email-greg@chown.ath.cx> <1459618198.15622.3.camel@perches.com> <57054E4C.1090307@chown.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57054E4C.1090307@chown.ath.cx> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 975 Lines: 26 On Wed, Apr 06, 2016 at 07:58:36PM +0200, Grigori Goronzy wrote: > On 04/02/2016 07:29 PM, Joe Perches wrote: > > Most of the whitespace only changes are undesired. > > Well, the style wasn't very consistent. I think consistency is > important. So I took the liberty of deciding for one style and stuck > to it. > > > Multi-line statements here are using alignment to > > open parenthesis which for some is the preferred > > style. > > I didn't use alignment to open parentheses because that is often > reducing the usable space per line too much. So you have to break lines > a lot and code becomes less readable. > > Of course, I'm open to arguments if and why a particular style should be > preferred. Maybe we should try to mostly avoid these bikeshed > discussions though. :) As Joe already said, we generally don't want indentation-only changes to existing code. Just try to stick to the style of the driver (even if it's inconsistent at times). Thanks, Johan