Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1092633ybe; Wed, 4 Sep 2019 12:28:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzC6MXqYR6uan934IntYS9rWZ6J5+x14tciZ259GIbP3mBCau4dEDPbxqhjL7e9E5VdOl5 X-Received: by 2002:a62:6489:: with SMTP id y131mr46998773pfb.124.1567625289740; Wed, 04 Sep 2019 12:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567625289; cv=none; d=google.com; s=arc-20160816; b=MxKEO2Z9z8RJTzQJ+ssDbt7r9B6rqp3aTDgCEJkw8JANTkqQgJzStUmrpkmLuOqrY/ obc1cIT/xAsgka8QVjBT6d+oRPhWoI0QSFKUGztFDfNk0kryt9un19hrVzTgeOLj7AE4 RQayYGs2PLGBKmlndrB6KDF1wHffFCVDL9rdwyePQ3F3qWQsXUXG0skFPHNIBhm6YKcu oa1KJiSJ6TI51z3SvuoBjsLiZKRUVWXJhenpV8NSieDAwmqhpTBzPCSu9mv2zPXqYttC AOPIO4xMhdA+ERGyu7xvmF/L5fTjGUd9/hWO/e09B7tabeTRp56d2W5zdyQAAQHSk1Tw caSQ== 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=3xFoZClGaC+0y4jnCqALkohANPrc23GrNCthBFjA4p8=; b=R/POp++wtD0d+sG9TvQiTWOU9ig8tKa2L0mL4P4LYtBfmTnpd6rkqI1wyoUjwNmqwd OOPGFkArP33rBBQX5PO5aHHgABaZVnOg7s1aAa19qSspZjWyNfv9JIJj5XIz8nXnTzm9 jiBJX6rImZuBXtAfPpj7BfkjiNzEZCCXo+M21snY48xBx+YZaH/0wLHQTtBKN3+g/XPc 9UCGOqwVHAqk8Ttmhfq+N272pvfwx0bv5G53Bz5Rf1ppL3GtiY9ne5v4SoLGPhOe8tSJ A5kK8Gny/M0WSyig8zpHdgv+j+qfoN7LROTVaxS38C9WCl+ynqhCE3gR/GfPxda7dfom dpsg== 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 v63si17695271pgd.111.2019.09.04.12.27.51; Wed, 04 Sep 2019 12:28:09 -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 S1730491AbfIDT0u (ORCPT + 99 others); Wed, 4 Sep 2019 15:26:50 -0400 Received: from smtprelay0239.hostedemail.com ([216.40.44.239]:36854 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729740AbfIDT0t (ORCPT ); Wed, 4 Sep 2019 15:26:49 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 2178C182CED5B; Wed, 4 Sep 2019 19:26:48 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 30,2,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:421:599:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:4321:5007:6117:7901:10010:10400:10848:11026:11232:11473:11658:11914:12043:12050:12297:12740:12760:12895:13069:13200:13229:13311:13357:13439:14181:14659:14721:21080:21451:21627:21939:30054:30091,0,RBL:47.151.152.152:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:1:0,LFtime:26,LUA_SUMMARY:none X-HE-Tag: sign82_1e205b955f54d X-Filterd-Recvd-Size: 2459 Received: from XPS-9350.home (unknown [47.151.152.152]) (Authenticated sender: joe@perches.com) by omf14.hostedemail.com (Postfix) with ESMTPA; Wed, 4 Sep 2019 19:26:46 +0000 (UTC) Message-ID: Subject: Re: [PATCH] media: siano: Use the correct style for SPDX License Identifier From: Joe Perches To: Mauro Carvalho Chehab , Greg Kroah-Hartman Cc: Nishad Kamdar , Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 04 Sep 2019 12:26:45 -0700 In-Reply-To: <20190904160010.4532c3f5@coco.lan> References: <20190831151147.GA7082@nishad> <20190904153432.7fb54f02@coco.lan> <20190904183608.GA495@kroah.com> <20190904160010.4532c3f5@coco.lan> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.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 On Wed, 2019-09-04 at 16:00 -0300, Mauro Carvalho Chehab wrote: > With Python, you can't even use the second line, as it is reserved > for charset encoding. > > So, realistically, the SPDX header could be up to the third line of > a given file. > > Besides that, I vaguely remember some discussions we had, back on the > days SPDX was introduced, envolving Thomas, Linus and others. My > understanding for such discussions is that something like this: > > /* > * SPDX-License-Identifier: GPL-2.0+ > * > * some other notes about the file > */ > > Would be acceptable, as the first line of the comment (with is at > the beginning of the file) is the SPDX tag. Using the 2nd line of a .[ch] file does not follow the documented mechanisms. Documentation/process/license-rules.rst-1. Placement: Documentation/process/license-rules.rst- Documentation/process/license-rules.rst- The SPDX license identifier in kernel files shall be added at the first Documentation/process/license-rules.rst: possible line in a file which can contain a comment. For the majority Documentation/process/license-rules.rst: of files this is the first line, except for scripts which require the Documentation/process/license-rules.rst: '#!PATH_TO_INTERPRETER' in the first line. For those scripts the SPDX Documentation/process/license-rules.rst: identifier goes into the second line.