From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 2 Feb 2018 17:12:46 +0100 From: Greg Kroah-Hartman To: Igor Stoppa Cc: Rob Herring , Andrew Morton , linux-kernel@vger.kernel.org, Joe Perches , Andy Whitcroft , Thomas Gleixner , Philippe Ombredanne Subject: Re: [PATCH v6] checkpatch.pl: Add SPDX license tag check Message-ID: <20180202161246.GA3188@kroah.com> References: <20180202154026.15298-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Fri, Feb 02, 2018 at 05:49:20PM +0200, Igor Stoppa wrote: > On 02/02/18 17:40, Rob Herring wrote: > > Add SPDX license tag check based on the rules defined in > > Shouldn't it also check that the license is compatible? Baby steps please :) > [...] > > > + } elsif ($realfile =~ /\.rst$/) { > > + $comment = '..'; > > What is the correct/acceptable license for documentation? > Creative Commons? AFAIK GPL is for source code. > > Googling didn't bring the wished-for enlightenment. It depends on what you want to allow the documentation to be used for. It's not a simple answer :( thanks, greg k-h