Received: by 10.223.164.202 with SMTP id h10csp3573566wrb; Sat, 25 Nov 2017 11:38:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMYUJdiGqx3sy05y3+xPho29AkH5thP3bVyRB3latlRZLyju/i/C3x9gXslTdxMQcN4SqBRu X-Received: by 10.159.231.20 with SMTP id w20mr34453679plq.398.1511638715626; Sat, 25 Nov 2017 11:38:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511638715; cv=none; d=google.com; s=arc-20160816; b=qQm7mHOk3SBiW8zwdnoKbIWxSBI5FMJryTJb3fGNQ29Ih1YHWNZDkeEJjqG7QGKoiG 25m+b8g9VPqzoeFanByoOAE85yoClB4Ew6OYqwi658Qe6a5u4qeg9D/6zSBdHtmvVE3v AY4WlWFqW/cZuk1mzuDUcUsqBu+naDk2nZDHZqwwsvT6nN2ycszeoYJ/n7rQQY3qs7sz ozqMe4VNBzf19BSZgA3389OpB+e9lwJbvWQyZna8Xudkte6qg2M9N8n+aP2GlrrSVILu +1Gk9q7mujoCkj0LAzWC8iB3CdCOywNx6uGrwK+r0bBnnxe0nebIE1SkuTFk1p//Xuub 69Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=s4fPacz7W1uZGQqZR3hS4QQSU5CXQ7GDPYYDkWbVuyg=; b=D3+XcqPUDzo4rhWPDYjNG68b8AnW82ba+CoMDFYnzW854ONJG/aj/psORwwCeNmeZ3 eX/rVMvqfgS8I0arMqM3S1pyRqMKPq2BT56nDYrCnbleLNpfQTV73oqFx4RwHPD3WqqW 8XvrWTYEUFOtjdwQ29piO0332ulH5HL0r/sJx7gKSCxBAJRqpiqa1nxiTrbhnDZyDbnD 2kXs7tRDmv/UARNI31ZnuuuvVIAiGg8diL8ZMhdtZAgg1HwrluZZy57VnnpPVsKMTMRD XVgQdWZ7aDBs7hmAlEpQ56hj1PLRflyqawa5YLDHHcE2JpvaV+5u3vsEd1K/hz+JmXCc X+1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Wtm0iIwm; 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 y10si20408785pln.138.2017.11.25.11.38.23; Sat, 25 Nov 2017 11:38:35 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Wtm0iIwm; 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 S1751762AbdKYTht (ORCPT + 81 others); Sat, 25 Nov 2017 14:37:49 -0500 Received: from mail-it0-f44.google.com ([209.85.214.44]:39081 "EHLO mail-it0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751224AbdKYThr (ORCPT ); Sat, 25 Nov 2017 14:37:47 -0500 Received: by mail-it0-f44.google.com with SMTP id x13so16947705iti.4; Sat, 25 Nov 2017 11:37:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=s4fPacz7W1uZGQqZR3hS4QQSU5CXQ7GDPYYDkWbVuyg=; b=Wtm0iIwmfeXkTD+nITUQiKQDRKcQR50Vuouetnb3UfDqzLD31h/geeL8ZL552Z2eV7 Yl5tOdz6tuoDvmHGdkpK4pJUwoHmBxRlkagvPyCyc8QJTU0gNa1B3EufapNCVnyC7aSd qg6R/jFZB/Zru7rwVcYqyAJ7suE+PhpDUxu6LbbJB13ryRw1mY6yJUeT1LwZMfQMw9SW aGriYQFLdNztoeXmeoiwQpl28DEzeBKSWIHx+QqtKXR7yWGl6uMvYvX/2gH6+cJntuQ/ 1U2iFW+d8oPrSOS9F7JPrsacvQOpu93lLOI024GqegDk7dKFhMZkM1i4/Ys7iPKPTye0 OqpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=s4fPacz7W1uZGQqZR3hS4QQSU5CXQ7GDPYYDkWbVuyg=; b=rJOG+LxsQ69oY5zy1OEI8/aYbFVOT1XFVbt6gV+oyEiEqyxHP5tR6XXEtsC9tpnIrd ZQD+ADvl36foebTTTGq2Z/IxEuuwZM0nD/Qku6VM9bedMgruekNS09lggYO23B0RotyX jlI35QmXIbWTHpATXaPITrg047/DhWFOyGIwxMmsWNm27PUbnENRLhJhWdA2SeXQUgTu Uv9Luf6EzIiGEw1govsUPNSxlh4sfH+EC0J9OqMrb0hvTxiJT3Sh1k1Bc7lbAxLtqd8x 6W+u/KOU7R/uAPWkL/Zg9+nLPLYdyHNiSoYoUF1KbOp8y42xCCT24h2vzWwI0jd1zHvx viJA== X-Gm-Message-State: AJaThX64lps6dpimXDU6AkeIZb2EmloRgHf2rL8ObIICX18TxVkcmBn7 O7YvUUbJ695Hne3p4ig66jEbgRCnGSP+1kmWZ9w= X-Received: by 10.36.151.198 with SMTP id k189mr22683927ite.100.1511638247833; Sat, 25 Nov 2017 11:30:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.88.8 with HTTP; Sat, 25 Nov 2017 11:30:46 -0800 (PST) In-Reply-To: <20171125191726.GA6886@amd> 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> From: Linus Torvalds Date: Sat, 25 Nov 2017 09:30:46 -1000 X-Google-Sender-Auth: Z4FFIJQ2C4Uyk_TUax0gsEP0hkk Message-ID: Subject: Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses To: Pavel Machek Cc: Greg Kroah-Hartman , Mauro Carvalho Chehab , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Btw, your exact line is also an example of another thing I *never* want to see: indentation of the identifier. I'm not sure what was going on there, and what you tried to line up, but it has already happened once in include/dt-bindings/clock/boston-clock.h, and I suspect it was *exactly* because it was in a /* block comment and people tried to make it match that comment. THAT IS WRONG. We already had the damn "random whitespace fixes" crap with the existing license mess. Let's learn from our mistakes, AND NOT DO IT AGAIN! So I want the format to be _fixed_. On the very first line that the file format allows, with no whitespace garbage, and no "let's try to make it pretty and match the rest". Seriously. You should be able to do git grep -h SPDX-License-Identifier: | sort | uniq -c and not get fifty different versions just because of stupid "let's match things around it" crap. If you want to match something, switch to using '//' at he top copyright comment, and remove the garbage boilerplate. Linus From 1585066801460762118@xxx Sat Nov 25 19:18:18 +0000 2017 X-GM-THRID: 1584269821406855532 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread