Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2161582ybt; Fri, 3 Jul 2020 02:22:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVDgW7kTNos723b+02yvapD0ceyzfOdFYCzvlyYPkzNVXUfU4iisyvX18ohELDrSDkb8o4 X-Received: by 2002:a17:906:6dd7:: with SMTP id j23mr15996096ejt.529.1593768152184; Fri, 03 Jul 2020 02:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593768152; cv=none; d=google.com; s=arc-20160816; b=D0ENxfAbtYf7SPoPeI5gxkGr75LEWSL7Z3iWJUGfHpjZHoLZTIwgA+QDRsRe7vtSLI D7/OMXKrjvjkI0s/71FO29/ls3uytOIAs8DrxYcQuv6kuP+1/Pjj2wlrE4sog/BcOjNK x4YKDhxjBLf+JVuNKUp+LZETbiHwAIR+8AS+nDyOX8MSb8VnaCV9FtpFAq9MdA8YL8eG BSbaAwY5a+bNwYDriXI6T7utFtxBWvD+CSSeufuTqBm28Qs1UrCuTdv2mON4Zeam8dXa qWMRcGx8xCiRTHFNo+nVj8illXbqCCcRbuPpKowpIOP0w6LXJPQLxeMh9gZ39d89UYUZ h94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=POSpsbTYYz1lTAOeuc7RHl8+ok2djC1/r4JffXq6xMY=; b=jRMSZJGRozzggKLC+I8lvlVWupzN/QUra8wSD4J3STw73QZFWtYeCH9qeokvLaPUkd hATlKWcHlQlR7HZbKfE6gCXNCBw+lo0hwrmuoR4h2lfhuEzrjdCJjUErCIeHWqcZH1eV clDiOLcc1m5qONIu4xA5SqfSxhNrB20rc+6hBxz2MhIuHW9v3u9MJGhlBOt3Z0zoVUIi jvLVrHlk2TGLKx/v3CSDWNHnJfHEP532YZYGGJCtdZVcAFY8hiKNkIRcFZkV8zAEE/Tr vdKhRuI+weGSSVutNNvPNkoMKQJhFmbtPVPr0LyZcJtR/jDDv30YOyzigJcfkpgjkil6 LWYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=MMNER+Jt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si7479479eds.407.2020.07.03.02.22.08; Fri, 03 Jul 2020 02:22:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=MMNER+Jt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726469AbgGCJT5 (ORCPT + 99 others); Fri, 3 Jul 2020 05:19:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbgGCJT5 (ORCPT ); Fri, 3 Jul 2020 05:19:57 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E0CEC08C5C1 for ; Fri, 3 Jul 2020 02:19:57 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id 72so26250500otc.3 for ; Fri, 03 Jul 2020 02:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=POSpsbTYYz1lTAOeuc7RHl8+ok2djC1/r4JffXq6xMY=; b=MMNER+JtA7FMAsMGC2/ws5PfqUn71jdqaX+6+hnhRxJtDnAtGWsqmXuhN6jmK+qHOH 5OXxGL7mFU57/m6qHqFTyZL4Ne8Gl58RrhkfH0xXlmm1kah60OZgvUG0oZuihiPeA152 ObjYEGTHWMXrQYJXdMydkcJK2HKSPYNts9ohiBW3MLNwvAPgnC4a2EkFVK3HJC4X4Gdo wcgzKYb52awe5C5jeHB/zA1/SeyUH7lUO+NIhQmAD4WPi899C/dVi61up+C7rZD0s8gP PAbviafe/w2Ig56lPho8Rzlc1q3mfuLWKPcwyN5P3U1UBfoziKKhqCMlIwAVVk2/82Wb wYxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=POSpsbTYYz1lTAOeuc7RHl8+ok2djC1/r4JffXq6xMY=; b=Ydtsk4CLz83DeNJ9bUWU1ZZA0nW53dE3jfCAD8z/eexRV0PjlGYeGbh2WoKetDBBzj BCFITImTO9GKjsKdktcbqXzpnWypvSACaDLWQKnNXrx4U44LrnwtdQBEz+2qAezT5bjc 0jW6a+bgCBI2LvXJe/PR+m45iI0iE7y4Q7x9Zdkn6/QGoVN68vd7qxscFbTQ6rxpVqU0 Od4x/DMhKYFDoD7YGqscUL5PEb79mBgk7C7GWlXeigyY0om6KC4T/bugtKb8683JfW1j s50NbX+ADAqYlHX73Xn4R4k0wAusmX5yy6U527dAB1O/cw5jDIgB7fT1iXPwDMZ4GEQe kOjA== X-Gm-Message-State: AOAM532MLaLb8F+1vUppOLNTcl8uUs3jX+UzR+2Hwa5k/s2KAofWYY0J tKmW2N+W/D8FJYc165A2o4mKaqzVDFZ2aoBV1ZEfQg== X-Received: by 2002:a9d:3a36:: with SMTP id j51mr30860818otc.129.1593767996603; Fri, 03 Jul 2020 02:19:56 -0700 (PDT) MIME-Version: 1.0 References: <050476a0ee608046569588936394159d650ab535.1593763492.git.zong.li@sifive.com> <80902e5d0d5ef752e71672e9c5794d0f5f9ccd15.camel@perches.com> In-Reply-To: <80902e5d0d5ef752e71672e9c5794d0f5f9ccd15.camel@perches.com> From: Zong Li Date: Fri, 3 Jul 2020 17:19:47 +0800 Message-ID: Subject: Re: [PATCH] scripts/Lindent: increase the maximum line length to 100 To: Joe Perches Cc: Andrew Morton , "linux-kernel@vger.kernel.org List" , Miguel Ojeda Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 3, 2020 at 4:51 PM Joe Perches wrote: > > On Fri, 2020-07-03 at 16:08 +0800, Zong Li wrote: > > As the patch 'bdc48fa11e46 ("checkpatch/coding-style: deprecate > > 80-column warning")', increase the default limit to 100 characters, > > we also increase the maximum line length to 100 for indent script. > > I'd prefer to delete Lindent instead. > > Also any reformatting tool like this will > _always_ use up to whatever the maximum > line length is rather than use a preferred > length of 80 and and only use the allowed > maximum length of 100 when necessary for > human readability. > Yes, as you mentioned, the reformatting tool uses up to the maximum line length, it seems to me that we don't go this patch if you plan to post the patch to delete it, otherwise, we could consider to change it to 100. > > Signed-off-by: Zong Li > > --- > > scripts/Lindent | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/scripts/Lindent b/scripts/Lindent > > index 1688c44c2df6..11f14a4f2048 100755 > > --- a/scripts/Lindent > > +++ b/scripts/Lindent > > @@ -1,7 +1,7 @@ > > #!/bin/sh > > # SPDX-License-Identifier: GPL-2.0 > > > > -PARAM="-npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1" > > +PARAM="-npro -kr -i8 -ts8 -sob -l100 -ss -ncs -cp1" > > > > RES=`indent --version | cut -d' ' -f3` > > if [ "$RES" = "" ]; then >