Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751517AbdGRQ0l (ORCPT ); Tue, 18 Jul 2017 12:26:41 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:2101 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751380AbdGRQ0j (ORCPT ); Tue, 18 Jul 2017 12:26:39 -0400 Message-ID: <1500395194.17774.6.camel@mtksdaap41> Subject: Re: [PATCH v2 9/9] soc: mediatek: pwrap: fixup warnings from coding style From: Yingjoe Chen To: CC: , , , , , , , , , , , Date: Wed, 19 Jul 2017 00:26:34 +0800 In-Reply-To: <568c3b518b70a0af17cbef1223721b68448a8ac6.1500368529.git.sean.wang@mediatek.com> References: <568c3b518b70a0af17cbef1223721b68448a8ac6.1500368529.git.sean.wang@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1314 Lines: 36 [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. Joe.C