Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4927891imm; Tue, 19 Jun 2018 02:06:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJh6sjz3Z7pFcnGEJRLRNYLgOlZB08kPRz856IsNxfW/n5+1P5HHc8coAvu8pNsDwl0CgNt X-Received: by 2002:a17:902:bb8d:: with SMTP id m13-v6mr17649192pls.46.1529399172120; Tue, 19 Jun 2018 02:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529399172; cv=none; d=google.com; s=arc-20160816; b=pCTO+K7gp4yaNnwfKs9mm7p93HYngp27RShfgPkvUjfCRJIwqBKGnoDQP3spOwD5p+ gxcAZEOoeRHY+GxL5zQpGGUxdfJXDyqm8ghiQh7uRrrq6UnMMO6Y6AYXMftgr0woBw4O jhMYvZm1bpdVz1SZs7O1tI5g9Nmmr1CPLLdw6aIQqkgxqqyPq3EaRui9wKit85W3+T0v 7dxsqusWn0aH+PJY6J+QkntqAVqFKygnekMATWlE1FEWwTk5ch3EQ1PQ0CQ4YF8XZfQG jTvfXQUfzDziVXTlZyuRaVPTbgu7YZSWaExP64+d2p/YMTiBGZX/AuhtUVoOAu8kfklE cZyA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=eXxQKVB2YW98aIYCcphUeuqF05CzDXx/1XAdKU9Bc5Q=; b=PBnuUz7P8qREw9mNETshzj7SlvpTDmTeigho2CoS8EV9hVqz4I011nwNIsBWrO3/US 7B8UCFwjD3+6rR2OuIS1FbZO5QdiIM1aCmqYU6SSKcx3qjT3D0ipTUNEf+yIWaVrvBU3 vGNMCUwqMR09bLBIZMOgdgpE/rRQPTwu3nxhQHx8Z/movCLPpdiVYrBSsvMLIIuI1g0o /dEoBfxjHAkZMb124aUDN3znUVTqwz/z9uY00PzK6HimLYzCaDzWmtgUgGIsXRvp/aT4 Ew9loUnAqP9F+LSyf/9PAn6Zr+t02ZnqOy7V1q2DFcGTtikGrLExfkruhAQQ6BL79+SZ ngdQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3-v6si16813357plb.228.2018.06.19.02.05.58; Tue, 19 Jun 2018 02:06:12 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756444AbeFSJFL (ORCPT + 99 others); Tue, 19 Jun 2018 05:05:11 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59704 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756178AbeFSJFK (ORCPT ); Tue, 19 Jun 2018 05:05:10 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 83D512610D8 Subject: Re: [PATCH v2 3/8] mfd: cros_ec: Add or fix SPDX-License-Identifier in all files. To: Lee Jones Cc: linux-kernel@vger.kernel.org, Gwendal Grignou , kernel@collabora.com References: <20180605175429.9072-1-enric.balletbo@collabora.com> <20180605175429.9072-4-enric.balletbo@collabora.com> <20180618063750.GH31141@dell> From: Enric Balletbo i Serra Message-ID: <0ab6b76e-11b3-dc1e-bd14-af69d7dd6a8d@collabora.com> Date: Tue, 19 Jun 2018 11:05:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180618063750.GH31141@dell> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On 18/06/18 08:37, Lee Jones wrote: > On Tue, 05 Jun 2018, Enric Balletbo i Serra wrote: > >> And get rid of the license text that is no longer necessary. Also fix >> the license as sometimes doesn't match what the header with the value in >> the MODULE_LICENSE macro. Assuming that the desired license is GPL-2.0+, >> all the files are updated to this license version. >> >> Signed-off-by: Enric Balletbo i Serra >> --- >> >> Changes in v2: None >> >> drivers/mfd/cros_ec.c | 26 ++++++++------------------ >> drivers/mfd/cros_ec_dev.c | 23 +++++------------------ >> drivers/mfd/cros_ec_dev.h | 16 ++-------------- >> drivers/mfd/cros_ec_i2c.c | 18 ++++-------------- >> drivers/mfd/cros_ec_spi.c | 20 +++++--------------- >> include/linux/mfd/cros_ec.h | 10 +--------- >> include/linux/mfd/cros_ec_commands.h | 10 +--------- >> include/linux/mfd/cros_ec_lpc_mec.h | 14 +++----------- >> include/linux/mfd/cros_ec_lpc_reg.h | 14 +++----------- >> 9 files changed, 32 insertions(+), 119 deletions(-) >> >> diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c >> index 58e05069163e..5b6a1c541543 100644 >> --- a/drivers/mfd/cros_ec.c >> +++ b/drivers/mfd/cros_ec.c >> @@ -1,21 +1,11 @@ >> -/* >> - * ChromeOS EC multi-function device >> - * >> - * Copyright (C) 2012 Google, Inc >> - * >> - * This software is licensed under the terms of the GNU General Public >> - * License version 2, as published by the Free Software Foundation, and >> - * may be copied, distributed, and modified under those terms. >> - * >> - * 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. >> - * >> - * The ChromeOS EC multi function device is used to mux all the requests >> - * to the EC device for its multiple features: keyboard controller, >> - * battery charging and regulator control, firmware update. >> - */ >> +// SPDX-License-Identifier: GPL-2.0+ >> +// ChromeOS EC multi-function device. >> +// >> +// Copyright (C) 2012 Google, Inc >> +// >> +// The ChromeOS EC multi function device is used to mux all the requests >> +// to the EC device for its multiple features: keyboard controller, >> +// battery charging and regulator control, firmware update. > > I must admit I haven't seen a great many patches like this. Is C++ > comments for the SPDX header *and* the Copyright text the done thing > now then? > There is a bit of mess here, as per documentation, it is clear that the SPDX tag for .c files should go in C++ style, but for the copyright notice is not clear and there are differences between subsystems. Seems that putting everything as // is Linus Torvalds' preferred style [1] but other maintainers want the copyright in c-style. If you see current status in the kernel both styles are present. [1] https://lkml.org/lkml/2017/11/25/133 Best regards, Enric