Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4684994pxv; Tue, 29 Jun 2021 13:03:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxq7PGDIblVDdP8gT8dApcXcuODla78p/dO2ObwAS2jj1Ja5k3ghxNxsy3CG9Nb0vtXoQGG X-Received: by 2002:a17:907:1b11:: with SMTP id mp17mr31933520ejc.1.1624996983211; Tue, 29 Jun 2021 13:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624996983; cv=none; d=google.com; s=arc-20160816; b=iExXScv4071ZcsrjddiSKql/kHC8aVuwr3DbiVazZxBmxzR9/dm2l8N2/mV4OfHZlk pYJR8sa/qBasB6hs+1mLk03JxpKvSRkLy5UY7DF4acTeHgXAGFLfml8HydNjBJgu08RD we8/9MzN6O+llFqsYZJqARSmuQTIDfmBA4UdxtOOxKgd1n4/BVCGVby8cw8X+NZiALTf 9vfiSr6d3KtXav/GQto1ZL4WNF6d7KOyKO6LBJL+PIAma7ZgFRqE2emc7i2Av5lZaYrx ieQPyivqo/2qWf+R6hdS6YsdTqpP5vVM5BUf/38sYUuJBHGPXgR9da5CK2prf11pozHH lt7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Ahfpz93xDzBoKFilMz3wHtxvE0MiSwAqyRzqb6aaIHI=; b=ge/ng6CkgdLt8whOk6Na2tgscwPViJTqz02rd9dtnDTl/kT0W/YsUKbirjDMJrBThC vs2hq8tcqAWlgjcZBEy+eUjniTZ0bedIrX2u5rHjU+Zt+whSY+crIlkUX3XGHPRdPxIQ cxRc99sPut2482ccn0yS6+/s6Sj+FiCd9eelNnwnLfzVHdMO5K8JCwSNQrwaFuejPJVO 1ArCPRhySPnzzbnGtZmlrQemxkmkeWp361g4Zo3ne9+3k8Rtmrn0yumJuUXnuYk6kkHy gLwwMdAGRngYFwYxr5ab6cODG3RX2uPWM7y23PgPSlDwTyiQ3j6KFAXINS9ZrIHGhwUt Jx3g== ARC-Authentication-Results: i=1; mx.google.com; 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 zg9si10909116ejb.298.2021.06.29.13.02.39; Tue, 29 Jun 2021 13:03:03 -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; 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 S232816AbhF2UDi (ORCPT + 99 others); Tue, 29 Jun 2021 16:03:38 -0400 Received: from smtprelay0162.hostedemail.com ([216.40.44.162]:54354 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232602AbhF2UDh (ORCPT ); Tue, 29 Jun 2021 16:03:37 -0400 Received: from omf09.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id D451618204CEC; Tue, 29 Jun 2021 20:01:07 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA id 2BFE41E04DC; Tue, 29 Jun 2021 20:01:07 +0000 (UTC) Message-ID: Subject: Re: [PATCH 1/3] checkpatch: skip spacing tests on linker scripts From: Joe Perches To: jim.cromie@gmail.com Cc: LKML Date: Tue, 29 Jun 2021 13:01:05 -0700 In-Reply-To: References: <20210626034016.170306-1-jim.cromie@gmail.com> <20210626034016.170306-2-jim.cromie@gmail.com> <075e07c40b99f93123051ef8833612bc88a55120.camel@perches.com> <5d28704b131e375347f266b10fc54891ba2a4fc4.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.86 X-Stat-Signature: gt4p71cb7jctfptui1fcek6ewmszuy45 X-Rspamd-Server: rspamout04 X-Rspamd-Queue-Id: 2BFE41E04DC X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1+KX+c3jA4QjSnXZF+h2f0boxgJs1koLXo= X-HE-Tag: 1624996867-582727 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-06-29 at 13:50 -0600, jim.cromie@gmail.com wrote: > this does 3 different things > > - non-capturing matches - these add no functionality, true, it's nominally a bit faster through. > - moves the skip-remaining-tests check after SPDX > ???that feels like a legal Q: should it be on all files ? > ???moving it does seem proper though. to me too. > - adds the skip linker-script > ??since i went ahead and added it 3 times to see errs/warns > ??I didnt consider your precise placement, > ??how does it do with 18/8 errs/warnings on ref-test ? $ ./scripts/checkpatch.pl -f include/asm-generic/vmlinux.lds.h --strict --terse include/asm-generic/vmlinux.lds.h:1: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 include/asm-generic/vmlinux.lds.h:43: WARNING: please, no space before tabs include/asm-generic/vmlinux.lds.h:101: CHECK: line length of 106 exceeds 100 columns include/asm-generic/vmlinux.lds.h:390: WARNING: please, no space before tabs include/asm-generic/vmlinux.lds.h:546: ERROR: code indent should use tabs where possible total: 1 errors, 3 warnings, 1 checks, 1184 lines checked