Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1457455ybh; Fri, 13 Mar 2020 01:25:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvoHFf2zoDfxcG2YIHmnUJoRq/rrVJnzZmwQIYQsj235HK1ojPT5in5AFetgCngyfzsaHjG X-Received: by 2002:a05:6808:98e:: with SMTP id a14mr5720980oic.8.1584087943038; Fri, 13 Mar 2020 01:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584087943; cv=none; d=google.com; s=arc-20160816; b=WjyuWCOGLC1xDbUuRFZdEZc5bTgou3u84t5rfEmI2kdwTTCVYGN75WaibMwMnDJoKV 3e+8Cx6a5ahNMuhIPQx98ngAI/n850IeEnGI73+BRixs+tCZuUpdWVaZphrrpgv3th1G vfd5yCq68haylIVU6u5uE/Ym9TmpcmQnppjbWl0RGWgtjmxthAo3ydJfymKzgyzLE5Qy 4xju9uKY8m5vNsEuuDh2relZcHeEr6IwTI6GKVmyviQqOsQggE10X/X8tOyX+TcquVJX fZg26NE24ijSP1Pmt2ZWg8Hie/jLTXnbXHemUgfTNYCdEbI2sXzF1/bFuPUgLEP4AX4U x16w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=OI6iDXK1xsmKXVQTtK8rqZ/AQxN3Kr81EqM0CeNcDIs=; b=aX/pmHRRjnpCXMmaXJFExOGvZ2v8szg9zzPCu/+EPP1CpDGZp0XEOcz2ronz2FmmzL 9FSiC5sQl2hVlBXx45Vkji70DBy5PAh9LCSMthUaUDFEmWdHqc7bhhRoJUo5JiDHQaAa GBeJkNGfkQfJi7D7ivxZ7ZTEZASskq7h5R4WV1I2CMoSXUX60Ll5Fc3YX2QNy+V8puT2 dW2fbOnuH+ldtPV3fJqCJmA11Nz55hhV4plaKMevI9Q2nDbsOMRuRJQrd0PwXqOyPzsw o1zDz9sRuEdcbqZMOcAIoQrDi8mC+grwzPwmz6RbW6NliRaTzYb6kLtcL1452Vy4WIZS ICEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r13si4143951otq.279.2020.03.13.01.25.30; Fri, 13 Mar 2020 01:25:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726436AbgCMIXm (ORCPT + 99 others); Fri, 13 Mar 2020 04:23:42 -0400 Received: from smtprelay0187.hostedemail.com ([216.40.44.187]:36336 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726310AbgCMIXm (ORCPT ); Fri, 13 Mar 2020 04:23:42 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 878B3100E7B43; Fri, 13 Mar 2020 08:23:41 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 64,4,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2332:2393:2559:2562:2693:2828:3138:3139:3140:3141:3142:3352:3865:3866:3867:3870:3871:3872:4321:5007:7901:7903:10004:10400:10848:11026:11473:11658:11914:12043:12048:12297:12438:12555:12760:13019:13069:13311:13357:13439:14181:14394:14659:14721:21080:21627:30054:30064:30070,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:1,LUA_SUMMARY:none X-HE-Tag: spade84_7766863b53717 X-Filterd-Recvd-Size: 2027 Received: from XPS-9350.home (unknown [47.151.143.254]) (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Fri, 13 Mar 2020 08:23:40 +0000 (UTC) Message-ID: <093972fc6ff494cf0ac554f05127654df75e6669.camel@perches.com> Subject: [PATCH] checkpatch: No additional checking of SPDX License Identifier necessary From: Joe Perches To: Scott Branden , Andy Whitcroft , Greg Kroah-Hartman , Andrew Morton Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Date: Fri, 13 Mar 2020 01:21:56 -0700 In-Reply-To: <7056bd62-4251-f9bb-2b97-15f93a1e7142@broadcom.com> References: <20200311191128.7896-1-scott.branden@broadcom.com> <2c4b42d1fb0bdb6604a72b2a10d49f9eae4b0ff4.camel@perches.com> <7056bd62-4251-f9bb-2b97-15f93a1e7142@broadcom.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If checkpatch is run with --ignore=C99_COMMENT_TOLERANCE it will warn on almost every .c file because linux kernel style requires use of a C99 comment // SPDX-License-Identifier: checkpatch does not need to do any additional per-line checking after checking the SPDX-License-Identifier line. This allows the C99 comment style for SPDK-License-Identifier even if C99_COMMENT_TOLERANCE is specified by an --ignore option. Original-patch-by: Scott Branden Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 529c892..3f2ae7 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3171,6 +3171,7 @@ sub process { WARN("SPDX_LICENSE_TAG", "'$spdx_license' is not supported in LICENSES/...\n" . $herecurr); } + next; } } }