Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756045AbcCTPsS (ORCPT ); Sun, 20 Mar 2016 11:48:18 -0400 Received: from smtprelay0158.hostedemail.com ([216.40.44.158]:36073 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755994AbcCTPsF (ORCPT ); Sun, 20 Mar 2016 11:48:05 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 40,2.5,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:982: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:2692:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3873:3874:4039:4250:4321:5007:6261:7514:7841:7903:8957:10011:10400:10848:11026:11232:11473:11658:11783:11914:12043:12517:12519:12555:12740:13069:13161:13229:13311:13357:13439:13894:14096:14097:14181:14659:14721:21080:30012:30054:30069: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:1:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: word64_805a7d98cdc3f X-Filterd-Recvd-Size: 2489 Message-ID: <1458488880.4228.37.camel@perches.com> Subject: Re: [PATCH] staging: rtl8712: Fixed Multiple Parenthesis Alignment From: Joe Perches To: Parth Sane , gregkh@linuxfoundation.org Cc: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, luisbg@osg.samsung.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, amitoj1606@gmail.com Date: Sun, 20 Mar 2016 08:48:00 -0700 In-Reply-To: <1458484408-2237-1-git-send-email-laerdevstudios@gmail.com> References: <1458484408-2237-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: 1473 Lines: 44 On Sun, 2016-03-20 at 14:33 +0000, Parth Sane wrote: > Fixed multiple parenthesis alignment warnings. > Signed-off-by: Parth Sane Please always add a blank line after your changelog and before your "Signed-off-by:" line > diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c [] > @@ -197,7 +197,7 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter) > ? ???????0x0000ffff); > ? memcpy(ppayload, ptr, dump_imem_sz); > ? r8712_write_mem(padapter, RTL8712_DMA_VOQ, > - ??dump_imem_sz + TXDESC_SIZE, > + dump_imem_sz + TXDESC_SIZE, > ? ??(u8 *)ptx_desc); Please align all lines of multi-line statements. checkpatch is a stupid little script. You have to make sure your own patches are sensible. There are several things you should read and understand in the Documentation directory. Documentation/CodingStyle Documentation/SubmittingPatches Documentation/SubmitChecklist Fixing checkpatch messages is sometimes a decent way to understand this process, but the patches that can be generated fixing these messages tend to have low overall value. After doing a few of these, please move on to some part of the kernel that interests you and submit new code or start to fix actual defects. Maybe if you are interested in wireless drivers, buy a NIC that isn't supported by the mac80211 drivers and adapt the existing staging driver for that variant. Code, test, validate, submit, repeat...