Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp251729imm; Tue, 24 Jul 2018 18:24:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfN7dI0Q8oMWVgkzupE6j3nK9Av4B005AxHbLKKcnuG4QFCPawjUvmYZNutDJR81KfUVrFA X-Received: by 2002:a63:3444:: with SMTP id b65-v6mr18251575pga.396.1532481853765; Tue, 24 Jul 2018 18:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532481853; cv=none; d=google.com; s=arc-20160816; b=iCBS21tuKfjDWUEbP6HsxVpVkNY6zCDKtv7yaA/GRjLCVHppa19SttSi8wyS50Z3a6 yLAK4Wdctaf8WLZRr7+jidvNUFUIH/nYXi47xlkJXyaWDKvQLFV0Xx6Z03l9iyVkxGEQ fkIzpFcrt0aAzXJRPl1vaRdhr1fv+0sUYVWr6CJhRQMc6ROm4/5pRUS/abXt9dgr9vc3 Ajcu+d5ABRVYP3UElWpXOcB4me4gCiwJuHKYiBqr/5Sl8lRwx54sFkxlHgFjyiJvyr1v s/7QY20CUjRyWb0PPWlkpwqjgWpj/3NWOUJtoMl65TVZuALR3qu+7eGxii9eqpBfwLmZ zzUw== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=bnw2BsSEVCcMI0XhctQeUyuKvq8SGcUbe8n401nnJBc=; b=pZGp5bPzvUVMH1hgpOL5I0mj69HPUYemG5/exf1TcygWJMWS689qDK0lvpYm/isRFW waehgAAZEJtgPG5GlrOttQVCmTThHWW7Q3UthSA+JetpkQCXNL07X3XZN9k/8ulRqaO2 ShBeYmuk+pPRWjXFejHLrj/lXZ+VpyGEgxBgaMWbX+5rEXe8BVB+QXeOnU/zWR82dtn9 Tjb8I8lb3AuInodTP9vRtXsgxwp4hG1FA+aibugo8SQZtjQEPq5EGBw2FfZ1euYWxI4S k+r5SplklaT9YCK0M4SoQbnsf/a7Poin46oRR6b6sY+x1RyBr3JoLxnLRvPco8oty4kj QUtA== 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 g70-v6si13449927pfe.4.2018.07.24.18.23.58; Tue, 24 Jul 2018 18:24:13 -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 S2388535AbeGYCbk (ORCPT + 99 others); Tue, 24 Jul 2018 22:31:40 -0400 Received: from smtprelay0006.hostedemail.com ([216.40.44.6]:39839 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388468AbeGYCbk (ORCPT ); Tue, 24 Jul 2018 22:31:40 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 09BC8837F243; Wed, 25 Jul 2018 01:22:29 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3871:3872:3873:3874:4250:4321:5007:7514:9010:10004:10400:10848:11026:11232:11233:11473:11658:11914:12043:12296:12438:12555:12740:12760:12895:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21433:21451:21627:30012:30054:30070:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 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:29,LUA_SUMMARY:none X-HE-Tag: slope50_6cd6465b85032 X-Filterd-Recvd-Size: 2580 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Wed, 25 Jul 2018 01:22:27 +0000 (UTC) Message-ID: Subject: Re: [PATCH 2/4] Staging: octeon-usb: Applying coding style for column width. From: Joe Perches To: Georgios Tsotsos , Greg Kroah-Hartman Cc: Aaro Koskinen , James Hogan , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Tue, 24 Jul 2018 18:22:26 -0700 In-Reply-To: <20180724222212.8742-3-tsotsos@gmail.com> References: <20180724222212.8742-1-tsotsos@gmail.com> <20180724222212.8742-3-tsotsos@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.1-2 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 Wed, 2018-07-25 at 01:22 +0300, Georgios Tsotsos wrote: > This patch resolves the warnings as its refereed to TODO list. > There are also a code style issues that could be resolved via breaking > down cvmx_usb_poll_channel(). It was better before this change. If checkpatch caused you to produce this, please know that checkpatch messages are not dicta and do not need to be followed if the resultant code is worse to read. More likely, it could be nicer to use a separate function for this block instead. > Signed-off-by: Georgios Tsotsos > --- > drivers/staging/octeon-usb/octeon-hcd.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c > index cff5e790b196..0d3ec12788fc 100644 > --- a/drivers/staging/octeon-usb/octeon-hcd.c > +++ b/drivers/staging/octeon-usb/octeon-hcd.c > @@ -2637,12 +2637,14 @@ static int cvmx_usb_poll_channel(struct octeon_hcd *usb, int channel) > hcintmsk.u32 = 0; > hcintmsk.s.chhltdmsk = 1; > cvmx_usb_write_csr32(usb, > - CVMX_USBCX_HCINTMSKX(channel, usb->index), > - hcintmsk.u32); > + CVMX_USBCX_HCINTMSKX(channel, > + usb->index), > + hcintmsk.u32); > usbc_hcchar.s.chdis = 1; > cvmx_usb_write_csr32(usb, > - CVMX_USBCX_HCCHARX(channel, usb->index), > - usbc_hcchar.u32); > + CVMX_USBCX_HCCHARX(channel, > + usb->index), > + usbc_hcchar.u32); > return 0; > } else if (usbc_hcint.s.xfercompl) { > /*