Received: by 10.223.164.202 with SMTP id h10csp3560561wrb; Sat, 25 Nov 2017 11:18:18 -0800 (PST) X-Google-Smtp-Source: AGs4zMaKaP8IthrLiVVazYnL3ZH4YYZKy+rUxEZQnNpDKZllIMf8uDLADz1vhXp/gVgmHuozuSE8 X-Received: by 10.159.203.202 with SMTP id r10mr26764933plo.431.1511637498099; Sat, 25 Nov 2017 11:18:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511637498; cv=none; d=google.com; s=arc-20160816; b=RHeyfbT2mZknFdAGRYe+J+YjlPmxUXuzg/RupgTHJkEGnUlJoqFekTmHu5TlNKlba7 MewEV+WPvZnAgiwh8FeJFBZmpL6n744M/Nhsnq7TmSX6jtmLEO6CgIVk8XyUTeCkl2lF Hml/0J6ETRn6Ryrn9RjIGBvSu7G0L4mUPXpkO+m+PxH/luo2g4Rk1zLN4ApbIj4andav SueLo095bZ+meHlKRGqsYdmD9c0//7QSFdXvGdnpcOGsMEJ1zTQrJPyI/yDUpz8En13A ppbJbRXwyf/so+fSXIAtixIg/Am7o8/zju587O8DPtK7HZ/q+pRIg3hnjNruEU99dA0e 2Bsg== 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:arc-authentication-results; bh=BFRuzbcCPwlG0v7ar+TU/7Ae82TpfryCGGncSN0QdK0=; b=0xf9QZ6gdOdgXAohlT9Ebfc+x/QUP3D+qL/CfuXmzyakiEt23aQYjMsVSP/i490ra0 5FFSK7BmMt46QDZQrYDe5Pu5NNmOqBET9OXA6OXIenFK6ZLPpHI3nEhaMQgp8h41EJSn Y9Ywo5G7zy3a0K+NAdWrAVBWwtL9V98oqK2RSZXdmQAzmjzC3MvAAntG13aYo5RPNkhh 18Nq9upel14MNbLT6+TroaajeI91f/SvpZEx1s/0kOQVNj9QkWL6a++X3JENwpKDs1ad Fe8DCe0u68FxV6WW/KSD1iFjtfFs66/qtdEU5IxboOLJ3IgLI6X4Dboj3vVqHwsnrzV+ TvBA== 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 p29si20528107pgn.443.2017.11.25.11.18.05; Sat, 25 Nov 2017 11:18:18 -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 S1751439AbdKYTR3 (ORCPT + 81 others); Sat, 25 Nov 2017 14:17:29 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42783 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbdKYTR2 (ORCPT ); Sat, 25 Nov 2017 14:17:28 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id AA940824E3; Sat, 25 Nov 2017 20:17:26 +0100 (CET) Date: Sat, 25 Nov 2017 20:17:26 +0100 From: Pavel Machek To: Linus Torvalds 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 Subject: Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses Message-ID: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat 2017-11-25 09:11:58, Linus Torvalds wrote: > On Sat, Nov 25, 2017 at 9:04 AM, Pavel Machek wrote: > > > > That does not sound like he was deciding between /* */ and //. And > > actually this was in context of files with no existing license. You > > made the ugly patches. Stop hiding behind Linus. >=20 > No, Linus happily stands up for //. >=20 > I really don't like one-liner /* */ comments. Let's face it, // was > the _one_ thing C++ got right, among all the horrible bad decisions. >=20 > I think we should just start moving to // in general, but only when > adding new ones (ie I don't want to see any automatic conversion > patches). >=20 > And it's _particularly_ true for the whole case where we mix > one-liners like the SPDX line with block comments. That's where /* */ > really sucks. I agree that we should not do /* SPDX-License-Identifier: GPL-2.0+ */ /* * Driver for SMSC USB3503 USB 2.0 hub controller driver * * Copyright (c) 2012-2013 Dongjin Kim (tobetter@gmail.com) */ 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) */ So I'm not saying "use one-line comments with SPDX identifier". I'm saying place it where people expect it. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --liOOAslEiF7prFVr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAloZwcYACgkQMOfwapXb+vJkoACfY3LlGMnMukoXzwwlI22RmuXJ ItkAoIGbAQKW+rR/OCA2hi1eLZbA1pdy =K+L7 -----END PGP SIGNATURE----- --liOOAslEiF7prFVr-- From 1585066463477612923@xxx Sat Nov 25 19:12:56 +0000 2017 X-GM-THRID: 1584269821406855532 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread