From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754734AbdKINzG (ORCPT ); Thu, 9 Nov 2017 08:55:06 -0500 Received: from smtprelay0082.hostedemail.com ([216.40.44.82]:52673 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753621AbdKINzF (ORCPT ); Thu, 9 Nov 2017 08:55:05 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:4321:5007:6117:7901:7903:8531:10004:10400:10848:11232:11658:11914:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21434:21627:30054:30070:30090: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: cap27_664fb2769ab25 X-Filterd-Recvd-Size: 1581 Message-ID: <1510235700.15768.45.camel@perches.com> Subject: Re: [PATCH] checkpatch.pl: Add SPDX license tag check From: Joe Perches To: Greg Kroah-Hartman Cc: Rob Herring , linux-kernel@vger.kernel.org, Andy Whitcroft Date: Thu, 09 Nov 2017 05:55:00 -0800 In-Reply-To: <20171109091245.GA28962@kroah.com> References: <20171109011047.20040-1-robh@kernel.org> <1510193419.15768.37.camel@perches.com> <20171109091245.GA28962@kroah.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.26.1-1 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 On Thu, 2017-11-09 at 10:12 +0100, Greg Kroah-Hartman wrote: > On Wed, Nov 08, 2017 at 06:10:19PM -0800, Joe Perches wrote: > > On Wed, 2017-11-08 at 19:10 -0600, Rob Herring wrote: > > > Add a check warning if SPDX-License-Identifier tags are not used in > > > newly added files. > > > > If this is to be done, and I think it's not a great idea, > > there are better ways of doing this that emit this warning > > on a per-file basis instead of a per-patch. > > Any hints as to how to do that? :) Sure, but only after it's decided if adding spdx license tag to all compilable source files is appropriate. And if that's true, then that requirement also has to be added in the Documentation directory somewhere.