Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932910AbcCTBrz (ORCPT ); Sat, 19 Mar 2016 21:47:55 -0400 Received: from smtprelay0188.hostedemail.com ([216.40.44.188]:41676 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932653AbcCTBrt (ORCPT ); Sat, 19 Mar 2016 21:47:49 -0400 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:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3872:3873:4321:4552:5007:6261:7514:7841:10004:10400:10848:11026:11232:11473:11658:11783:11914:12043:12295:12296:12438:12517:12519:12555:12740:13069:13161:13229:13255:13311:13357:13439:13894:14181:14659:14721:21080:30022:30054:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: fight64_43ef9916a4400 X-Filterd-Recvd-Size: 2316 Message-ID: <1458438463.4228.10.camel@perches.com> Subject: Re: [PATCH] staging: netlogic: Fixed alignment of parantheseis checkpatch warning From: Joe Perches To: Parth Sane , gregkh@linuxfoundation.org Cc: brcnakalin@gmail.com, shraddha.6596@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Sat, 19 Mar 2016 18:47:43 -0700 In-Reply-To: <1458438174-17566-1-git-send-email-laerdevstudios@gmail.com> References: <1458438174-17566-1-git-send-email-laerdevstudios@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1349 Lines: 42 On Sun, 2016-03-20 at 01:42 +0000, Parth Sane wrote: > Fixed alignment of paranthesis as per checkpatch. The subject prefix [PATCH] should be numbered with the revision like [PATCH v2] > Please ignore earlier sent patch for paranthesis check and use this one.? This bit of your email should go below the --- separator line. Otherwise it goes into the git commit log which isn't desired. Trivially, you've misspelled parenthesis > Signed-off-by: Parth Sane > > --- > ?drivers/staging/netlogic/platform_net.c | 5 ++--- > ?1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/netlogic/platform_net.c b/drivers/staging/netlogic/platform_net.c > index daee1b2..dde20d5 100644 > --- a/drivers/staging/netlogic/platform_net.c > +++ b/drivers/staging/netlogic/platform_net.c > @@ -120,10 +120,9 @@ static struct platform_device *gmac_controller2_init(void *gmac0_addr) > ? for (mac = 0; mac < 4; mac++) { > ? ndata1.tx_stnid[mac] = FMN_STNID_GMAC1_TX0 + mac; > ? ndata1.phy_addr[mac] = mac + 4 + 0x10; > - Also trivially, there's no reason to delete this line. > ? xlr_resource_init(&xlr_net1_res[mac * 2], > - xlr_gmac_offsets[mac + 4], > - xlr_gmac_irqs[mac + 4]); > + ??xlr_gmac_offsets[mac + 4], > + ??xlr_gmac_irqs[mac + 4]); > ? } > ? xlr_net_dev1.num_resources = 8; > ?