Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751449AbdGRQb4 (ORCPT ); Tue, 18 Jul 2017 12:31:56 -0400 Received: from smtprelay0248.hostedemail.com ([216.40.44.248]:41797 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751353AbdGRQbz (ORCPT ); Tue, 18 Jul 2017 12:31:55 -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:1461:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2693:2828:3138:3139:3140:3141:3142:3353:3622:3865:3867:3868:3870:3871:3872:3873:4250:4321:5007:6742:7576:7903:10004:10400:10848:11026:11232:11658:11914:12043:12296:12438:12555:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:14777:21080:21324:21627:30012:30026:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: iron79_4a58fda3fb90b X-Filterd-Recvd-Size: 2676 Message-ID: <1500395509.25934.23.camel@perches.com> Subject: Re: [PATCH v2 9/9] soc: mediatek: pwrap: fixup warnings from coding style From: Joe Perches To: Yingjoe Chen , sean.wang@mediatek.com Cc: robh+dt@kernel.org, matthias.bgg@gmail.com, mark.rutland@arm.com, lgirdwood@gmail.com, broonie@kernel.org, jamesjj.liao@mediatek.com, henryc.chen@mediatek.com, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, chenglin.xu@mediatek.com, chen.zhong@mediatek.com, linux-kernel@vger.kernel.org Date: Tue, 18 Jul 2017 09:31:49 -0700 In-Reply-To: <1500395194.17774.6.camel@mtksdaap41> References: <568c3b518b70a0af17cbef1223721b68448a8ac6.1500368529.git.sean.wang@mediatek.com> <1500395194.17774.6.camel@mtksdaap41> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1473 Lines: 36 On Wed, 2017-07-19 at 00:26 +0800, Yingjoe Chen wrote: > [Resend due to bad mail format, sorry about the noise if you got two] > > > On Tue, 2017-07-18 at 17:49 +0800, sean.wang@mediatek.com wrote: > > From: Sean Wang > > > > fixup those warnings such as lines over 80 words and parenthesis > > alignment which would be complained by checkpatch.pl. > > > > Signed-off-by: Sean Wang > > --- > > drivers/soc/mediatek/mtk-pmic-wrap.c | 20 +++++++++++++------- > > 1 file changed, 13 insertions(+), 7 deletions(-) > > > > diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c > > index 142f40a..5f1036f 100644 > > --- a/drivers/soc/mediatek/mtk-pmic-wrap.c > > +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c > > @@ -1057,7 +1057,8 @@ static int pwrap_init_cipher(struct pmic_wrapper *wrp) > > /* wait for cipher data ready@PMIC */ > > ret = pwrap_wait_for_state(wrp, pwrap_is_pmic_cipher_ready); > > if (ret) { > > - dev_err(wrp->dev, "timeout waiting for cipher data ready@PMIC\n"); > > + dev_err(wrp->dev, > > + "timeout waiting for cipher data ready@PMIC\n"); > > Sean, > > I think the old code is easier to read. When the line is only slightly > over the 80 chars limit, some maintainers will even ask to keep it in > one line to make it easier to read. > > So if it is OK with Matthias, I think we should just keep it as is. checkpatch doesn't complain about this line.