Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3367470imm; Sun, 24 Jun 2018 19:03:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIYZuLgljz0tJNwbzgtaoIjT0QMtYgHhTRUHEQOYnmmYkxLe9mifv/rx2YrsTREuC/UAGu9 X-Received: by 2002:a62:f551:: with SMTP id n78-v6mr11143848pfh.200.1529892186633; Sun, 24 Jun 2018 19:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529892186; cv=none; d=google.com; s=arc-20160816; b=LJA2h2tYzMW+G0cxcK/g93A8STxR8I7Yzf/fUCFBJpZTo3wtkSj4po8M73WCrkbhj6 282FvntMToANWz8UDr/gHCFy8bcedEGM9IiavncqN/V2yFpgnhm2h62O+HDtodL/V9Bq VGDcEse3rPx47JGj7xzxngpXB8qO40AlOC7izY6Adzt0+C1paUHEz+ou76igePTFitgI BNRmENl5UlTkYObDKsC0NIuwcjL4tTrrir9xKgZupMMWTFf9gDt0bxKvLkMxBicmQbY0 me+wigXi2JhYaZ8jh6QQicRPsh0Cg9Tke6OZTyLCwiEDJ0bE0Q6iUGHsdrk+Ky4Dd4J4 fTxw== 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=duUb7Q2jw4LVPpkg4ikJmPhkaeCd0VA/6wrg74Pj/lk=; b=TQYU9kkyhtSDS8zQEX71UCYRpGH3hIJwK5vf6/E6BS0B/Y4lc86ieqVtU6wS9efD7O ZewW8hCaNTcwZSmaKlsVGTAKwCs48EDpwABQ7ugxy43fcuGVIfuq1lfECKBCccII2Ao+ bsQBfD0AsF2h5ZHI1HFGwIcU8Ydde/KutFYODHzddWd26UvMOi6LqzrsZi6OszeJDbO6 KY1fl77E1GtA9TKr0hXebAi09iRVKNVTOOpTsqBAnVr0M6HqwZ+TQSa7jYzT41q4gwW3 eKi9KvdZE9QRCXeQz8ofb573VW2i3GI2jQl1or0go9pryQ1ZQ/V6lEs9HomD9CyYqkNg V7KA== 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 d1-v6si12582125pld.515.2018.06.24.19.02.50; Sun, 24 Jun 2018 19:03:06 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752479AbeFYCCJ (ORCPT + 99 others); Sun, 24 Jun 2018 22:02:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34588 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751834AbeFYCCI (ORCPT ); Sun, 24 Jun 2018 22:02:08 -0400 Received: from localhost (unknown [111.205.210.1]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5D6E3CD1; Mon, 25 Jun 2018 02:02:03 +0000 (UTC) Date: Mon, 25 Jun 2018 09:57:17 +0800 From: Greg KH To: Enric Balletbo i Serra Cc: Fabio Estevam , linux-kernel , Gwendal Grignou , kernel@collabora.com, Dmitry Torokhov , linux-input@vger.kernel.org Subject: Re: [PATCH v2 5/8] Input: cros_ec_keyb - Switch to SPDX identifier. Message-ID: <20180625015717.GA30408@kroah.com> References: <20180605175429.9072-1-enric.balletbo@collabora.com> <20180605175429.9072-6-enric.balletbo@collabora.com> <7085d0bb-557c-0796-d3ae-756e000a7950@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7085d0bb-557c-0796-d3ae-756e000a7950@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 On Tue, Jun 05, 2018 at 08:14:24PM +0200, Enric Balletbo i Serra wrote: > Hi Fabio, > > On 05/06/18 20:04, Fabio Estevam wrote: > > Hi Enric, > > > > On Tue, Jun 5, 2018 at 2:54 PM, 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: > >> - [6/9] Do not remove last paragraph. > >> > >> drivers/input/keyboard/cros_ec_keyb.c | 34 ++++++++++----------------- > >> 1 file changed, 12 insertions(+), 22 deletions(-) > >> > >> diff --git a/drivers/input/keyboard/cros_ec_keyb.c b/drivers/input/keyboard/cros_ec_keyb.c > >> index 79eb29550c34..91b2839c12df 100644 > >> --- a/drivers/input/keyboard/cros_ec_keyb.c > >> +++ b/drivers/input/keyboard/cros_ec_keyb.c > >> @@ -1,25 +1,15 @@ > >> -/* > >> - * ChromeOS EC keyboard driver > >> - * > >> - * 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 > > > > Original text says GPL-2.0... > > > >> - * 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. > >> - * > >> - * This driver uses the Chrome OS EC byte-level message-based protocol for > >> - * communicating the keyboard state (which keys are pressed) from a keyboard EC > >> - * to the AP over some bus (such as i2c, lpc, spi). The EC does debouncing, > >> - * but everything else (including deghosting) is done here. The main > >> - * motivation for this is to keep the EC firmware as simple as possible, since > >> - * it cannot be easily upgraded and EC flash/IRAM space is relatively > >> - * expensive. > >> - */ > >> +// SPDX-License-Identifier: GPL-2.0+ > > > > but here you add a GPL-2.0+ type. > > > > Right, but the module license is set to GPL which means GNU Public License v2 or > later, see [1]. So, there is a mismatch. In such cases I assumed GPL-2.0+ as the > default. These mismatches are common so I think that should be fine for the > authors, if someone is disagree just let me know and I will change. NO! The license text is what you need to follow as almost everyone gets the MODULE_LICENSE() stuff wrong. You can not follow the MODULE_LICENSE marking for determining GPLv2 vs. GPLv2+ at this point in time. After we get the SPDX stuff all cleaned up then we can go and fix up the MODULE_LICENSE mismatch. So again, always defer to the license text in the file, NOT the MODULE_LICENSE() marking. thanks, greg k-h