Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp401965ybe; Wed, 4 Sep 2019 22:55:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRHElNsUM+9pwT+Bat0Fae5jTVQCFF7n+LAb5oT9J8TrzqP4EPmXCKk8v6ZuCICmQLDS+I X-Received: by 2002:a17:902:8d95:: with SMTP id v21mr1566838plo.267.1567662949775; Wed, 04 Sep 2019 22:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567662949; cv=none; d=google.com; s=arc-20160816; b=wt1VkijSC6kc4ghSjuO21UDHyFQfkwqrRy+/EAZmahButI31fD4UioILtbP2/NTOw7 5fYoxg7/my8gDSP4fuD1611Li4o1EPLaU9DzWskBfpJ0vk2tpewluMqduPQdi+oKUf3X 70NnbamFnl1wt9I3K45cECqH4qb9aE4OJX0qd/Li9p8EEu4nFylsP7P1ZQsnQrYebMrY GVH6FFXNbGrI7SDB2P69xoexsqkVSpo5cNxJiOaDx5rwdirlHrD+p+vtMatqUpVp5Z07 xML5l6zg3HOyAkRXXpCEl4U5YSE+6zol135OQ81AvAV2WHGjRldS6g3cfQJhajBNszZA aREg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sonZms1esja+TNRSYzigpyzp4r92YknbOTflQ+QsKsQ=; b=SYU8mOQKOjbMIQUwTa+VTWhyB3+ipTTmywTiqC1IRIjCVybt9CZDfhAcYQKakBs1/x swhEj5uzZeEci7wb3gmDw0zCc6wrMidxUGRcTKF4qFZzTEzGNW7iSV7G4o+LzWg5oS5c Q1j0aSc6COwzwWsxVYHgsNDhMeSmILtSPwTuaxM/y9+qKS+VAD5NW9UJDeUn8ldne2WU hJmvp4vBT64cb2dvqIuqN9EDBB0in9Rhyt1KY9iUGdmL2AMZN+WMmlJw0webmDgfc7QN I35wh3zvxP5ucOOe2CI7FgLXCQyEPVksFlqnF7AutGrcU+ZrinVAQa8pE+pa3rnFcrJD 5woA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2Z+aMos2; 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 124si826557pgb.11.2019.09.04.22.55.34; Wed, 04 Sep 2019 22:55:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2Z+aMos2; 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 S1731402AbfIEFye (ORCPT + 99 others); Thu, 5 Sep 2019 01:54:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:35182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbfIEFye (ORCPT ); Thu, 5 Sep 2019 01:54:34 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9108B2173B; Thu, 5 Sep 2019 05:54:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567662873; bh=Uf9AKCBn5jziRHZNbyaOFQh+/kEEr43vpEAZ+ka1xfY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2Z+aMos2+zBypg8rclvYgrozqQ/h7Fmi1k4rSSb+/VNt5cMXKM7MPs2VseLXbqLSw 4Ejxag8xVok55PlZGXHJWwqz6Ite5WJXw0f9vk3Kvt4ikh1NhzkX//OC7mWsTPmRHU dvpcO1XmHnADUSAk1p1d9RjvQWEoF/alEWI6PuM8= Date: Thu, 5 Sep 2019 07:54:30 +0200 From: Greg Kroah-Hartman To: Mauro Carvalho Chehab Cc: Nishad Kamdar , Joe Perches , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: siano: Use the correct style for SPDX License Identifier Message-ID: <20190905055430.GA23826@kroah.com> References: <20190831151147.GA7082@nishad> <20190904153432.7fb54f02@coco.lan> <20190904183608.GA495@kroah.com> <20190904160010.4532c3f5@coco.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190904160010.4532c3f5@coco.lan> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 04, 2019 at 04:00:10PM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 4 Sep 2019 20:36:08 +0200 > Greg Kroah-Hartman escreveu: > > > On Wed, Sep 04, 2019 at 03:34:32PM -0300, Mauro Carvalho Chehab wrote: > > > Em Sat, 31 Aug 2019 20:41:51 +0530 > > > Nishad Kamdar escreveu: > > > > > > > This patch corrects the SPDX License Identifier style > > > > in header file related to Siano Mobile Silicon Digital TV. > > > > For C header files Documentation/process/license-rules.rst > > > > mandates C-like comments (opposed to C source files where > > > > C++ style should be used) > > > > > > > > Changes made by using a script provided by Joe Perches here: > > > > https://lkml.org/lkml/2019/2/7/46 > > > > > > > > Suggested-by: Joe Perches > > > > Signed-off-by: Nishad Kamdar > > > > --- > > > > drivers/media/common/siano/smsir.h | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/drivers/media/common/siano/smsir.h b/drivers/media/common/siano/smsir.h > > > > index b2c54c256e86..ada41d5c4e83 100644 > > > > --- a/drivers/media/common/siano/smsir.h > > > > +++ b/drivers/media/common/siano/smsir.h > > > > @@ -1,5 +1,5 @@ > > > > +/* SPDX-License-Identifier: GPL-2.0+ */ > > > > /* > > > > - * SPDX-License-Identifier: GPL-2.0+ > > > > * > > > > * Siano Mobile Silicon, Inc. > > > > * MDTV receiver kernel modules. > > > > > > What's wrong with that? The above is a perfectly fine SPDX header. > > > > It is not the first line of the file :( > > > > A requirement for having it at the first line is not realistic. But it is "the rule" as Joe points out. > I'd say more: some script that would check for SPDX only at the > first line won't work. > > The reason is simple: we have some scripts at the Kernel tree. This is not a script, for those, it is fine to use the second line, again, this is documented. This isn't new at all, been that way since December of 2017, see commit aa19a176df95 ("Documentation: Add license-rules.rst to describe how to properly identify file licenses") thanks, greg k-h