Received: by 10.223.164.202 with SMTP id h10csp3551222wrb; Sat, 25 Nov 2017 11:05:42 -0800 (PST) X-Google-Smtp-Source: AGs4zMYVCwU0tm3paV5GaBT+8VXWtn+i160B8deh38mVhI1VTKizpJwO0T/iowMwU9EQ6q5hmWgp X-Received: by 10.101.81.202 with SMTP id i10mr13424760pgq.23.1511636742143; Sat, 25 Nov 2017 11:05:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511636742; cv=none; d=google.com; s=arc-20160816; b=F7YvwPqnxCAJyTTko57mtSVHcqqNJuUaNaP+gfleUbXl6llXHCt1OqM4KRMywqxBd1 gloBFzfJ4nogYzC9kxOstLYs5E9m2YPR/meYHDqiUyHfzQndUt3UYm2x7aDmaw0LIucF QgsJ0+9NqSCT8lg37+qwpL6bUahPNrku7UhGPiw9H4pvfkRsmYkPPSgJpWNn2Jgz5Sh2 +Y0uGdmnaoGeypg9dJBDkWqlNn+pGQyUtCAo/3r1dBDU1Nin8ryUsnqestSm/+Ewmo1N obz6j9ChoGCb2ld1P5sAiX/lp/e2Rq7vI1pKjTSj4Ex9Kik6SYLp6CMH6w/7tiz+CB8Q EZAA== 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=MDuac+YUBJA7HAkHPCIMhdgAgSbpiMojq53tSxyMn3w=; b=ZWEyj7ZBP/XcaBKEjx9tw/LCKpNpb1BJvCHS36t03CTrAYV2s0uL4rzZp0uDlZZqI9 94ryG82dhlqFdr8Jmje9SGpBBZo7AW68Zmr2kfd1hXRD0UqaAdK4Z+k0EeVfz/r/a4Ve lof+ClKHdeZpc8YmAah14PJh7V0B0os2tYLpuneRo0ravJq7zRTJy8B/wInjTQwrijx6 xgCC4NHgDRr3mEgULNsoiTyc0CunmvM2tXzPQJ8ABMSjJpC98dNT/nulcR8PkqiamHBp XvbiWTUt/lDSw3OJ+qcRs+2HJs8l4WPNM3ZqggTEuv4ape7+Id73+OcYhzK1OwTwXCpw ITRA== 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 j124si20405808pgc.216.2017.11.25.11.05.29; Sat, 25 Nov 2017 11:05:42 -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 S1751303AbdKYTEv (ORCPT + 81 others); Sat, 25 Nov 2017 14:04:51 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42497 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbdKYTEt (ORCPT ); Sat, 25 Nov 2017 14:04:49 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 3CBD1824E4; Sat, 25 Nov 2017 20:04:48 +0100 (CET) Date: Sat, 25 Nov 2017 20:04:47 +0100 From: Pavel Machek To: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , Thomas Gleixner , Christoph Hellwig , LKML , Linus Torvalds , Andrew Morton , Jonathan Corbet , Kate Stewart , Philippe Ombredanne , Russell King , Rob Herring , Jonas Oberg , Joe Perches , linux-xfs@vger.kernel.org, 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: <20171125190447.GB5114@amd> References: <20171116183306.103584007@linutronix.de> <20171116184358.398030394@linutronix.de> <20171117150639.0e706421@vento.lan> <20171117183946.GA28533@lst.de> <20171122095117.49c558a4@vento.lan> <20171122134804.GA30796@kroah.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <20171122134804.GA30796@kroah.com> 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 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2017-11-22 14:48:04, Greg Kroah-Hartman wrote: > On Wed, Nov 22, 2017 at 09:51:17AM -0200, Mauro Carvalho Chehab wrote: > > Em Wed, 22 Nov 2017 12:12:04 +0100 (CET) > > Thomas Gleixner escreveu: > >=20 > > > On Fri, 17 Nov 2017, Christoph Hellwig wrote: > > > > On Fri, Nov 17, 2017 at 07:11:41PM +0100, Thomas Gleixner wrote: = =20 > > > > > Introcude a MODULE_LICENSE_SPDX macro which flags the module info= storage > > > > > as 'SPDXIFY' and let the postprocessor do: =20 > > > >=20 > > > > Shouldn;t this be a FILE_LICENSE_SPDX? I'd also much prefer that o= ver > > > > the nasty C99 comments to start with. And while I'm a bit behind on > > > > email I still haven't managed to find a good rationale for those to > > > > start with. > >=20 > > Yeah, I also find nasty to have things like this on each C file: > >=20 > > // SPDX-License-Identifier: GPL-2.0 > > /* > > * Copyright ... > > * ... > > */ > >=20 > > Also, one may forget that headers use /**/ and end by doing the wrong > > thing, as a common practice is to just cut-and-paste the same copyright > > header on both C and H files at development time. >=20 > You break the build when you get it wrong, so you will notice it. For > most "internal" .h files, using // is just fine. >=20 > Yes, it's "ugly", but again, that's what Linus said he wanted it to look > like, take it up with him :) Linus said: # So in general, the _hope_ is that we can just end up replacing # existing boilerplate comments with that single line SPDX comment # (using "//" in *.[ch] files, but obviously some other kinds of files # end up having a different comment character, typically '#'). 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. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAloZvs8ACgkQMOfwapXb+vIylwCfYL+Yxk78oXdtfhec0zu8/io/ ThwAn1zKayZJ1mp9Z/v+N4UrDXdy2sQZ =7uQE -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- From 1585065196143179239@xxx Sat Nov 25 18:52:47 +0000 2017 X-GM-THRID: 1584269821406855532 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread