Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp591072imm; Wed, 6 Jun 2018 02:45:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI0IJo4/azuDtnoeZH1hQccs8f7M9SFlx+GGLPcJ8IfW3ahmt3oJHOJqpjLAhi0w/zB5rca X-Received: by 2002:a62:ea14:: with SMTP id t20-v6mr1268012pfh.117.1528278346169; Wed, 06 Jun 2018 02:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528278346; cv=none; d=google.com; s=arc-20160816; b=kJXQyHIhP3woMCYKbLTvTNvU1nbvuC6SL6PwYGO/ptvIWB9a5JxNeoTkrIkAKzou8E 3isgKx1+bbzoTUJ79Gb+Hl/Z3mf+1E6f6ZG9lLx/D4BNQObP/3QBcQIYBctXAiiVrc0/ 2WgX8TsZf2PTRkYNqLjSUPP3IdAOqv+MXY2X2t1Elwelr98ss8PwBI5S1qVWUWtx3u8q k2PKrSmeL8TuSat4/9XyrwSKrFGGA2w6cPSmFZL7dA3U4mBsJBzduVTS0gCUTgUIE/v1 IwpXHBAGTkNwWg9kkI13svq83q4loggHrOzJJCv81S6GN8GfTW+RY8QWTXo6k7ZXiHUY CXzw== 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:dkim-signature:arc-authentication-results; bh=NPWK+uYGf/x+ymWbJaRdhgaGhC75FrcnZacZPz5/vvw=; b=pDA2zU03MX967pj1ShI72NY/Dhswpn7r315mvSmqpOXRk4JWShRMcWYYE909ih5flo 3KVxBNcE9qsnI8VQJr4oxoY/i1j2Ro0BID/Yp9tZE0yr66GER+DFS/MlQvuZu7OR92eB hRsWfPfirnzd7MXURrQeNk6pGEb0k1Jd2omr90wK6xXDdqQOeQR+tQKhMHgD4DGvDW5u +wOXgI1FPIoKpmBESAwLyWwLgUoAt/rSChglXcMmvlDlf8gr/TYRvknHD7vNMNjTcbrD DvrEMhppldsZkM4n1zkI9cOZTAaHQCC+0kxDnm1L+6NNglxw5ns21ooBT1+HHUCYTVCu t3Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lMvlQ+oB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j29-v6si15272905pga.195.2018.06.06.02.45.32; Wed, 06 Jun 2018 02:45:46 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lMvlQ+oB; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932603AbeFFJni (ORCPT + 99 others); Wed, 6 Jun 2018 05:43:38 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:40497 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932415AbeFFJnh (ORCPT ); Wed, 6 Jun 2018 05:43:37 -0400 Received: by mail-wm0-f65.google.com with SMTP id n5-v6so10617699wmc.5; Wed, 06 Jun 2018 02:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NPWK+uYGf/x+ymWbJaRdhgaGhC75FrcnZacZPz5/vvw=; b=lMvlQ+oB122LsEasrDU7o8rnKAg4KE1JAewXIxEcbH/Ehx4QijErJhtlVMwxn4mXj/ sLD0nOx2fknCxpnfDi5D3750rYAU8siKXd0NH84Jep7Hcmy4dG/XqN/ZBaATI3ckGkNS E1AlOlU6WF+jJEmSELis7ZHtNBJdDXTOF727UHqLKssOBf0rXkNvlBy+GVJtsS5kebvT SuY/QL1+5D7tI58ZLXLvvYEwr/iDTaSy2lcXfzJIiaXrw/+ytUEdf/hw+5BZpfTSwTHy 3VoQnuaO29teBDQv5JEKwqyNPLm8QjTX2G1gCyaNxeAZJFU3KVg1Vl0UPU1R7pHbadou 6h5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NPWK+uYGf/x+ymWbJaRdhgaGhC75FrcnZacZPz5/vvw=; b=PqMYK635U4QFLkVbbTbGNO0zSO8refxYLR/Ahz2GE5UdW9gTEitgcB5UDnnRaeJeXL 8i1IYroY2Klh1dOxM883CfGmYl7tuf+2PYgNLnBvjpYDXbySAlxPn6BcOh6bPQ4XPyKM agad88/s/IwT9FTnl2602IqVW1cdmwKFISLP8V5lGwI+gRVvQIBAN3I+MfhCbKawuHhJ 9+XjBB/pEZdwu9h7/JOyKMJIhEpel0gxn0R8tjjUOCJH8H6EOMDdtWUbttWPozQtx2pQ DeSa5k4srldKHIVuKimo1Q1qqI1bXPGDzMerUCEJkh+B5xZbc5ctL8WGGDFCb7gNuyZq Kwng== X-Gm-Message-State: APt69E3Zg9ZrEAAFb/GHFbzLQvOaREM4FS4PFy87k5rDppdIfr12r9uu rsGjJl44uh/CDSqK2Ot+/pd9+w== X-Received: by 2002:a1c:3589:: with SMTP id c131-v6mr1395631wma.160.1528278215680; Wed, 06 Jun 2018 02:43:35 -0700 (PDT) Received: from localhost (pD9E510DD.dip0.t-ipconnect.de. [217.229.16.221]) by smtp.gmail.com with ESMTPSA id q194-v6sm4432851wmd.26.2018.06.06.02.43.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 02:43:34 -0700 (PDT) Date: Wed, 6 Jun 2018 11:43:33 +0200 From: Thierry Reding To: Enric Balletbo i Serra Cc: linux-kernel@vger.kernel.org, Gwendal Grignou , kernel@collabora.com, linux-pwm@vger.kernel.org Subject: Re: [PATCH v2 6/8] pwm: cros-ec: Switch to SPDX identifier. Message-ID: <20180606094333.GH11810@ulmo> References: <20180605175429.9072-1-enric.balletbo@collabora.com> <20180605175429.9072-7-enric.balletbo@collabora.com> <20180606090848.GF11810@ulmo> <32b22e93-d8d3-d20a-f497-723c62d1bd2b@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9sSKoi6Rw660DLir" Content-Disposition: inline In-Reply-To: <32b22e93-d8d3-d20a-f497-723c62d1bd2b@collabora.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9sSKoi6Rw660DLir Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2018 at 11:21:01AM +0200, Enric Balletbo i Serra wrote: > Hi Thierry, >=20 > On 06/06/18 11:08, Thierry Reding wrote: > > On Tue, Jun 05, 2018 at 07:54:27PM +0200, Enric Balletbo i Serra wrote: > >> Adopt the SPDX license identifier headers to ease license compliance > >> management. > >> > >> Signed-off-by: Enric Balletbo i Serra > >> --- > >> > >> Changes in v2: None > >> > >> drivers/pwm/pwm-cros-ec.c | 13 ++++--------- > >> 1 file changed, 4 insertions(+), 9 deletions(-) > >> > >> diff --git a/drivers/pwm/pwm-cros-ec.c b/drivers/pwm/pwm-cros-ec.c > >> index 9c13694eaa24..9bf4cde86765 100644 > >> --- a/drivers/pwm/pwm-cros-ec.c > >> +++ b/drivers/pwm/pwm-cros-ec.c > >> @@ -1,12 +1,7 @@ > >> -/* > >> - * Copyright (C) 2016 Google, Inc > >> - * > >> - * This program is free software; you can redistribute it and/or modi= fy it > >> - * under the terms of the GNU General Public License version 2, as pu= blished by > >> - * the Free Software Foundation. > >> - * > >> - * Expose a PWM controlled by the ChromeOS EC to the host processor. > >> - */ > >> +// SPDX-License-Identifier: GPL-2.0 > >> +// Expose a PWM controlled by the ChromeOS EC to the host processor. > >> +// > >> +// Copyright (C) 2016 Google, Inc. > >=20 > > This is odd. I understand that for some reason there is an exception for > > SPDX license identifies to use C++ style comments, but why would you > > make the whole comment C++ style? Why not just something like the below: > >=20 >=20 > Seems that there is some kind of controversy between different maintainer= s. I > did in that way because I was complained to use the c-style on other patc= hes, > and seems, that putting everything as // is Linus Torvalds' preferred sty= le: >=20 > https://lkml.org/lkml/2017/11/25/133 >=20 > I don't mind to change if the c-style is preferred by the maintainer (oth= ers > prefer the c++ style) but I think that would be good get an agreement bet= ween > subsystems maintainers and document properly. I've read elsewhere that using // for SPDX was supposed to make it stand out, which is kind of contradicted by the above. However, I interpret Linus' reply to Mauro as "people tend to do less crazy things with // than with /* */", so to me it seems that as long you use /* */ sensibly, there's no reason to avoid it. No need to resend, though, I can adjust the patch to my own preference if I decide to do so. Thierry --9sSKoi6Rw660DLir Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlsXrMMACgkQ3SOs138+ s6FYcQ/+PJWrm3mSUjMrnZ5Rj3zgZR2kxykZ04vwdb0nM+o9KwqXSa6tbxInWiLw mjY0K5yoBZ52UGdHnG0AkCwYR3QGYBaVlV1cReAUDqWQ0ga1QEBK697h972nTWyM h5+Jc20i0NiJd1kN3D4liy9RJJJl1MxL6PaGsVPow+eid0N6CqeeCeUZplfvkxkp ySjJpO+YfnemF6orK4o5HKKzxsToyXmYIVTtQgVSgO2IHHXaEKcTKmoNfgXPAKEK vUGR9W2WZpBaGFUx2bhmDufMMpRYAlKTeBfwH7wGAfaT2cnXfZKaTvj4phlToHCX TLp/Gms97D5hoK+zVGk11LpLfK3k0s3Aa7uT6uz6FLRK0sTV5vqtTXl98roTEh/G CiU2hGOoBegUSvhXGy2kU9k7rJKXMSG+iJu+VIuZaP0W1jnjtxbtWMjyDklbgGjV 4lMUY7m0ezJddiA/8alRHu7ZKYkjSJXUh/FteOJSz+D2gmXVpgH5ou66ZOVf8n2X lFAYI5yu253GLmIbJaKLElyugQWha8sWtEvlSiHxbflbiEkq4IXOinbP/JX0HOkv gNfGnE86tAqUdoaI0enKIfmVkmGMeldP4ZtYTgqv/dXyWrrFKhE2yQuw2KDDfheZ uwZlzzYlpykj9/XB8nqNP63w/wj6+xMgOdh9BPPmLxAAr85Jchc= =uQ6D -----END PGP SIGNATURE----- --9sSKoi6Rw660DLir--