Message ID | 20221202100841.4741-10-ilpo.jarvinen@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp750221wrr; Fri, 2 Dec 2022 02:17:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf6LV7AaNajLS5MFRbsCdwzLIYRHeuVDK00kTObE7HC7zLN2/Oyq/prSzNXYBPPIN4bbBbFY X-Received: by 2002:a17:907:9a8a:b0:7bf:9949:969e with SMTP id km10-20020a1709079a8a00b007bf9949969emr21058105ejc.132.1669976263394; Fri, 02 Dec 2022 02:17:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669976263; cv=none; d=google.com; s=arc-20160816; b=M4mgYN8G5l/tYfQUabKgZVTFLQ0bEDDPoXEiQgHf3zjo1AKEaPcR7U8yobWcoUguSi Ne/2Ix2UcZxTwmdjn0gkqH4e1fbEEmQyNRF0WesS+OqLvjtGFJklHs2Zd+Q2eZ7+mgdl 8/V7uaBHyxacsNWLtItif50k+dCsodeFyX5zFT863f48luMEV+2sdYxrk7+y7V1pKQfI vv7VD2C7Nx2Yi/D+vdtdfckSv8/SxAc5xUdMI2fN6ksxSXFjPV8Kia2H9QsGu54GmoJw ZL7HAvezCY3LOTgo7HDC+z/fHTinanyk8Ob9BaALQiKpo3nNUQlSC5dVuJZce8xZ1g4+ LfFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UbScsRMeDELHYc8+a3cZAH0UbzvUPS5AMAe/wbZySr8=; b=vtIFgHHvt8YBVdAdTjvsih8WCeTujVQBjcoxLQ7WrDEiZK7kQ4CBSSZu6iJV1Nesn7 wGXTP59CacBjCv4VTpqWva/5jOksqw9hbI/No7mrBWl06BAsHK9auYgq6S78AV3rHcfA AlTdMHUG8vkKoe03N1ogvIMUeUhpUknHc5hp1hZhjRKVqD678Jq2+DiOulswBVNYS6tB /n7Jm0qAd3LXjwfiiuY2bZEDMEOVaBynA+CFY51+fM/IQ6+22mRQE2QlXz/9BSm7P2ZT 2uDSdKUc7TJSkF2luJcjgyT88WNwLw+sEwvf7XEW71xA5zmfJfirz3r0OeBqwZTWqKUv qeIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RWEA2cfz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t33-20020a056402242100b004683ad010absi1505821eda.340.2022.12.02.02.17.19; Fri, 02 Dec 2022 02:17:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RWEA2cfz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233331AbiLBKK7 (ORCPT <rfc822;lhua1029@gmail.com> + 99 others); Fri, 2 Dec 2022 05:10:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233338AbiLBKJn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 2 Dec 2022 05:09:43 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05F65CCEED; Fri, 2 Dec 2022 02:09:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669975781; x=1701511781; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kc+yEY/iWOiluBCj3lvc8wCEUhAVny4SfsTfv6ZQHmA=; b=RWEA2cfzrptiJqr//A6OyIUKFlReW9bDcbbnVpTC5uf682jV5TSTelym 87QYqWDAdUuQLy2TCwLov6fYl5jpItLqLkvIo8Ti2zG2//nY8tOF8V8Zz fi3jMe7tTFII+D8AviPoiQjxSv1ss6ScqRmEbN9PZmCBcARuBlhLgFCRs AM5+WL/oqgn6gGKGCYfPTekfQ59ufth4LsYiNhP802rwswRt22skbNE7u 1BYX+KVjP0QkipJTIOtPq7D6+bDaJBKn2t3kpd5hN6g+at8SV2r8gtv9T d1n9WHy9QSPHzN4Hvcg9qZPruH3feb6KapO4rA2F1K/zObAVNkUstXvg4 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10548"; a="342859790" X-IronPort-AV: E=Sophos;i="5.96,212,1665471600"; d="scan'208";a="342859790" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2022 02:09:41 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10548"; a="622649613" X-IronPort-AV: E=Sophos;i="5.96,212,1665471600"; d="scan'208";a="622649613" Received: from gliakhov-mobl2.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.251.213.44]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2022 02:09:37 -0800 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> To: linux-fpga@vger.kernel.org, Xu Yilun <yilun.xu@intel.com>, Wu Hao <hao.wu@intel.com>, Tom Rix <trix@redhat.com>, Moritz Fischer <mdf@kernel.org>, Lee Jones <lee@kernel.org>, Matthew Gerlach <matthew.gerlach@linux.intel.com>, Russ Weight <russell.h.weight@intel.com>, Tianfei zhang <tianfei.zhang@intel.com>, Mark Brown <broonie@kernel.org>, Greg KH <gregkh@linuxfoundation.org>, Marco Pagani <marpagan@redhat.com>, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Subject: [PATCH v3 9/9] mfd: intel-m10-bmc: Change MODULE_LICENSE() to GPL Date: Fri, 2 Dec 2022 12:08:41 +0200 Message-Id: <20221202100841.4741-10-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221202100841.4741-1-ilpo.jarvinen@linux.intel.com> References: <20221202100841.4741-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751097030604268759?= X-GMAIL-MSGID: =?utf-8?q?1751097030604268759?= |
Series |
intel-m10-bmc: Split BMC to core and SPI parts & add PMCI+N6000 support
|
|
Commit Message
Ilpo Järvinen
Dec. 2, 2022, 10:08 a.m. UTC
"GPL v2" should not be used as MODULE_LICENSE(). "GPL" is enough, see
commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL
v2" bogosity") for more details.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
---
drivers/mfd/intel-m10-bmc-core.c | 2 +-
drivers/mfd/intel-m10-bmc-spi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Comments
On Fri, Dec 02, 2022 at 12:08:41PM +0200, Ilpo Järvinen wrote: > "GPL v2" should not be used as MODULE_LICENSE(). "GPL" is enough, see > commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL > v2" bogosity") for more details. And that commit says that leaving "GPL v2" is just fine and dandy and should not be an issue at all. Please do not change the license for no good reason. That commit is NOT a good reason to change it at all. so NAK on this patch, sorry. greg k-h
On Sun, 4 Dec 2022, Greg KH wrote: > On Fri, Dec 02, 2022 at 12:08:41PM +0200, Ilpo Järvinen wrote: > > "GPL v2" should not be used as MODULE_LICENSE(). "GPL" is enough, see > > commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL > > v2" bogosity") for more details. > > And that commit says that leaving "GPL v2" is just fine and dandy and > should not be an issue at all. From reading just it's changelog, it's hard to come into that conclusion (in fact, the opposite reading is very much crafted into many of the wordings in the changelog, e.g., stating that "GPL" is "completely sufficient" and that other ways assume wrongly distinction, etc.). Only after reading now the diff itself, I can see that being the case. > Please do not change the license for no good reason. That commit is NOT > a good reason to change it at all. > > so NAK on this patch, sorry. Okay, I'm certainly fine dropping it :-). The reason why I added this change was checkpatch giving this: WARNING: Prefer "GPL" over "GPL v2" - see commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity") ...And bf7fbeeae6db's changelog then further reinforced that "GPL" is sufficient. I guess checkpatch wanted to give the warning only for new stuff but since I was moving code around it misdetected the moved bits as new.
diff --git a/drivers/mfd/intel-m10-bmc-core.c b/drivers/mfd/intel-m10-bmc-core.c index 50a4ec758bdb..3b9e866b2bcf 100644 --- a/drivers/mfd/intel-m10-bmc-core.c +++ b/drivers/mfd/intel-m10-bmc-core.c @@ -130,4 +130,4 @@ EXPORT_SYMBOL_GPL(m10bmc_dev_init); MODULE_DESCRIPTION("Intel MAX 10 BMC core MFD driver"); MODULE_AUTHOR("Intel Corporation"); -MODULE_LICENSE("GPL v2"); +MODULE_LICENSE("GPL"); diff --git a/drivers/mfd/intel-m10-bmc-spi.c b/drivers/mfd/intel-m10-bmc-spi.c index e99fe7c43314..d480e09bda25 100644 --- a/drivers/mfd/intel-m10-bmc-spi.c +++ b/drivers/mfd/intel-m10-bmc-spi.c @@ -201,5 +201,5 @@ module_spi_driver(intel_m10bmc_spi_driver); MODULE_DESCRIPTION("Intel MAX 10 BMC SPI bus interface"); MODULE_AUTHOR("Intel Corporation"); -MODULE_LICENSE("GPL v2"); +MODULE_LICENSE("GPL"); MODULE_ALIAS("spi:intel-m10-bmc");