Received: by 10.223.164.202 with SMTP id h10csp3583546wrb; Sat, 25 Nov 2017 11:55:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMY73UvWtFRTfw4sAvzH12MlzSM4EPrBW8K2zx2eMFiT5A24xIDVZjXiXPsryBJwB5Ga5cG7 X-Received: by 10.84.164.104 with SMTP id m37mr19785332plg.98.1511639725837; Sat, 25 Nov 2017 11:55:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511639725; cv=none; d=google.com; s=arc-20160816; b=JwgHNl9kgzyzo6wB29W87dxF7YgBzD1IgT8cP6MacJVlH4wEDsM3hqoQrUvXvOeTYw rtBevSu/XigsEFSuhcWu6emiXQ0cAi31aJixtUm/OgMSXUWOwJsJwHNTw/agBr+IkymD cvSHEgn0ndqUNMFosT55WkvP+daINo6/GthcxTNA55YSXuQdN3njZmiH5SHvffRK7LGf FxHYndJaRj/5jrp75niNqmoEYXB/cVdl4JqxmyRwKctp2D6BXWdM3QHd3EyPhDAt9KW3 UMAiWpgZVOr/t9wNNbD5ZqFGMpnODhMq6xNVK1qOUvKR8jhHiQdwtXErKGcCAyUxtjYA gHwg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=ox6Res6k6ZDWg0dlXYGsdSR1O8uGtjBgtVgQhUFYa5g=; b=sO/41z43S6fNaguSIwOFn8ZJb8jcYaigWKRPZL6pD2T+gIZk+NrAO45DL87a4sjpPb mijruHwvJyWVdf59tCDIqpViC73pVkuFMmLHyzsBf32eI28l/dC0K41wWpqwx07nbeEU QvWKLBd6Vj2PkD/0rwZvMxfVHsUaDkK34WpaVruOM5lvYU+cpiEAN0A8fs1tbQ6Mx5qb Mc9A+TDSVMBKj/SAVuNKHX51WqpksTpA5smSK20P7x37+Xr5GK7rWw9GP30+hFkrzo86 vlYmMyZnKIu0PVxBynfWVc7rWzH0+DUtkyeaY2HGEx3zPWa02f+LygOtLktWLBLc7c27 1S4w== 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 d6si20324194plo.114.2017.11.25.11.55.04; Sat, 25 Nov 2017 11:55:25 -0800 (PST) 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 S1751706AbdKYTyL (ORCPT + 81 others); Sat, 25 Nov 2017 14:54:11 -0500 Received: from osg.samsung.com ([64.30.133.232]:41205 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751630AbdKYTyH (ORCPT ); Sat, 25 Nov 2017 14:54:07 -0500 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id 9C9441F171; Sat, 25 Nov 2017 11:54:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lniZAeHd7_XV; Sat, 25 Nov 2017 11:54:01 -0800 (PST) Received: from vento.lan (unknown [179.95.12.227]) by osg.samsung.com (Postfix) with ESMTPSA id 11D8B1F169; Sat, 25 Nov 2017 11:53:56 -0800 (PST) Date: Sat, 25 Nov 2017 17:53:53 -0200 From: Mauro Carvalho Chehab To: Linus Torvalds Cc: Pavel Machek , Greg Kroah-Hartman , Thomas Gleixner , Christoph Hellwig , LKML , Andrew Morton , Jonathan Corbet , Kate Stewart , Philippe Ombredanne , Russell King , Rob Herring , Jonas Oberg , Joe Perches , linux-xfs , Charlemagne Lasse , Carmen Bianca Bakker Subject: Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses Message-ID: <20171125175353.467b6e49@vento.lan> In-Reply-To: References: <20171116184358.398030394@linutronix.de> <20171117150639.0e706421@vento.lan> <20171117183946.GA28533@lst.de> <20171122095117.49c558a4@vento.lan> <20171122134804.GA30796@kroah.com> <20171125190447.GB5114@amd> <20171125191726.GA6886@amd> Organization: Samsung X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sat, 25 Nov 2017 09:30:46 -1000 Linus Torvalds escreveu: > On Sat, Nov 25, 2017 at 9:17 AM, Pavel Machek wrote: > > > > There's logical place in the comment, and it should look like this: > > > > /* > > * Driver for SMSC USB3503 USB 2.0 hub controller driver > > * > > * SPDX-License-Identifier: GPL-2.0+ > > * Copyright (c) 2012-2013 Dongjin Kim (tobetter@gmail.com) > > */ > > And this is *exactly* what I don't want o see, because now the SPDX > placement is basically entirely random, and we'll get stupid conflicts > that are must nastier, and people will get it wrong and we'll end up > with two lines etc etc headaches. > > Yes, the single line at the top _also_ causes conflicts, but they are > really easy to resolve exactly because there is absolutely no > ambiguity about what the resolution is, and there is no question that > there could be two different SPDX lines in the file. > > The "//" format is ambiguous and simple, and works well for the first line. > > And if we have the long-term plan to move over to // (which I really > hope for), it's also the cleanest of them all. Let me see if I got it straight. At drivers/media/common/siano/smsir.c, we have, currently: /**************************************************************** Siano Mobile Silicon, Inc. MDTV receiver kernel modules. Copyright (C) 2006-2009, Uri Shkolnik Copyright (c) 2010 - Mauro Carvalho Chehab - Ported the driver to use rc-core - IR raw event decoding is now done at rc-core - Code almost re-written This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . ****************************************************************/ With is completely out of standard. I'd like to add an SPDX tag there and, while doing that, adjust the comments. So, if I understand well, your preference would be to make it like: // SPDX-License-Identifier: GPL-2.0+ // // Siano Mobile Silicon, Inc. // MDTV receiver kernel modules. // Copyright (C) 2006-2009, Uri Shkolnik // // Copyright (c) 2010 - Mauro Carvalho Chehab // - Ported the driver to use rc-core // - IR raw event decoding is now done at rc-core // - Code almost re-written Right? Also, what about the header file (that, currently, has an identical header? The way it was proposed (with /**/), it would be: /* SPDX-License-Identifier: GPL-2.0+ */ /* * Siano Mobile Silicon, Inc. * MDTV receiver kernel modules. * Copyright (C) 2006-2009, Uri Shkolnik * * Copyright (c) 2010 - Mauro Carvalho Chehab * - Ported the driver to use rc-core * - IR raw event decoding is now done at rc-core * - Code almost re-written */ With, IMHO, looks really ugly. Thanks, Mauro From 1585068077788404902@xxx Sat Nov 25 19:38:35 +0000 2017 X-GM-THRID: 1584269821406855532 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread