Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp300750yba; Sat, 30 Mar 2019 23:12:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlLyHABBgLOyXqHNHxonJ3M5jXgiBo3SWWfD9VxbFKiOwfvC+3wvWJMYKOpJNUov/4IbDF X-Received: by 2002:a63:1f52:: with SMTP id q18mr55244405pgm.134.1554012724895; Sat, 30 Mar 2019 23:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554012724; cv=none; d=google.com; s=arc-20160816; b=kzGX+MxSVocOl1r8m9tvocyxjB+u1BzoJJfUiqZvgy+tOwscy/UXx0OFSzU1/EBLMY ooC6DFRpefLhNgW0VtMS0ZEYD8ddfluPdGI/wcmWxGWIZlen6mvI2rk8iyieDmdG6xYE NV/wCD7gFQCV137L6pBJ8Ryqr9GGm5Zqh9GyuestBPKqBMaaUN1xvh+uHsiTf6+tS6an Cj4ilnAr+bg1ljsWWHrOldRosheo41VMmo1ZG83jnXpRNDfZTbO0fQMfQCU05WeJR1u6 Pflh3iWXqrX9CkdkQu1oRaNLYEJ8DD6jtY5/rSVa+lMurGca4d6JJKx5p3sO6jI6Zrb6 dLnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=54Tqa6nnzCuOWTWHSetmoXFqrKjXad971rvQU8x9KZI=; b=GGD6tljsEN9coUwt7s2Usg8eUwCeM7UNftvYWPOU2NowP9gV+J1Ubbdaae2d2lIhbk 08LJCPZvT6DZk9snHIRsmbRwqO8ilDthwIerwUh1C4P6IhF1F4YchAupFX0JRnrTAii0 6hUAWB08lEfN7MQJt9AiM+07C2YT51y3ufC2EGsUbFlgLhHOyUZ1h+HpreVtxFi34W0R aQCNp3WSxccj8fSCutoouDHrynwAfkEoDgIfW8luvErdz8gQWNkkfdfTZt83nHsXTAEE BRe4pF3SMsP9pzsMdFM9b5OcZ67ieZh83cgu+i9hqDLlN5+9Uqq4AKC+IZnBSDzEmRo0 aT0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si3671129pgq.213.2019.03.30.23.11.20; Sat, 30 Mar 2019 23:12:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726072AbfCaGFd (ORCPT + 99 others); Sun, 31 Mar 2019 02:05:33 -0400 Received: from smtprelay0219.hostedemail.com ([216.40.44.219]:37421 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725832AbfCaGFd (ORCPT ); Sun, 31 Mar 2019 02:05:33 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 447D91800A012; Sun, 31 Mar 2019 06:05:32 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:599:960:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2693:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3871:3872:3874:4321:4605:5007:10004:10400:10848:11026:11232:11658:11914:12043:12296:12438:12740:12760:12895:13069:13311:13357:13439:14096:14097:14659:14721:21080:21324:21451:21627:21740:30012:30054:30080:30091,0,RBL:172.58.35.144:@perches.com:.lbl8.mailshell.net-62.14.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:28,LUA_SUMMARY:none X-HE-Tag: beast00_3006f2d16eb3f X-Filterd-Recvd-Size: 1814 Received: from XPS-9350 (unknown [172.58.35.144]) (Authenticated sender: joe@perches.com) by omf19.hostedemail.com (Postfix) with ESMTPA; Sun, 31 Mar 2019 06:05:29 +0000 (UTC) Message-ID: <41750e16d14a967529d7cb5e315110ee5ccd313c.camel@perches.com> Subject: Re: [PATCH] Staging: greybus: usb: Fixed a coding style error From: Joe Perches To: Will Cunningham , johan@kernel.org Cc: elder@kernel.org, gregkh@linuxfoundation.org, greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Sat, 30 Mar 2019 23:04:59 -0700 In-Reply-To: <20190331053040.GA12974@titus.pi.local> References: <20190331053040.GA12974@titus.pi.local> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2019-03-31 at 01:30 -0400, Will Cunningham wrote: > Line was >80 characters. [] > diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c [] > @@ -169,8 +169,8 @@ static int gb_usb_probe(struct gbphy_device *gbphy_dev, > return -ENOMEM; > > connection = gb_connection_create(gbphy_dev->bundle, > - le16_to_cpu(gbphy_dev->cport_desc->id), > - NULL); > + le16_to_cpu(gbphy_dev->cport_desc->id), > + NULL); Blind adherence to 80 column limits leads to poor looking code. Especially with longish identifier lengths. Another way to do this, which is not necessarily actually better is to position the left side of the assignment on a separate line like: connection = gb_connection_create(gbphy_dev->bundle, le16_to_cpu(gbphy_dev->cport_desc->id), Is that better? I prefer the original. It was better before as it was aligned to open parenthesis.