Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp2109880lkv; Thu, 20 May 2021 03:38:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7s4IinLMpRpsoayDCbpfUAeT3cvN2opU5kgCUUUu22BOgkDuJuW14P92RXGhufOIDb2Ky X-Received: by 2002:a92:650d:: with SMTP id z13mr3563462ilb.193.1621507119907; Thu, 20 May 2021 03:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621507119; cv=none; d=google.com; s=arc-20160816; b=ZqaTG8aOL1T4uZs8udMkJKFOPUa+MHPFviEd8SXJYGpeCHKpH4C3oNUzcFG3xzJTDe P2DIKoEuXpm2Pipv44RN7K5J2gJDrykyN1IknfIh2fXmF9+vw678Bti9thcpS5lGTfBf 9HNU3MFcg937d+SVoPEDCkOhMlnZOaq62OhxYuHyRkMVjMGVtXpxU+LgPksEcPVusjm8 ovZChcqgaAlGsCnbPrUBu70g8D2T0VbkV742VtvVs3SMcQTVdz32aTUo1Zk0B6IxvrBD iOJFD3crqltvVuJuxi6jhcUwftAIjl7IYuewycqlWfbq2C/nl3pu+zmyDUWat6TuxkGW wEnA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=UXS9tRxOlcOZNCkZnuSlQLuI0Nyg6n+mgoC2KndlRPY=; b=MCd6psWDdssHuARyV6oI5FNv5m5+FLEEbNajXKVIsRW8ttLLT0U7034Gx0nkN3v/dG fWdDXuldPbEROHDZKRx/5AcKSu72GwC4eVzwijEZy1Adw1FMZ5h9fdDuSVJ41JDXPG10 fWaCgiVvd/3J5IVb+0/61Bz5dJgLL7DihJBeuh6pvtY+coj3t+LrZy/PQafVxxdJWWRG 32Knbzc+2hU+phTE1K/58f/u+HNuuaOY6VstWpfNv/QuG4lGTEUAyWvRD5e7NTDKnDlV Dh6bEfSz3AkmYbVEI+eve4ZrieratyUlA7oTynP48QfGTVjoyshV8CaQY4Gt1wZsZm4S 1yRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HoXtY5Gr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t4si2219896iom.3.2021.05.20.03.38.27; Thu, 20 May 2021 03:38:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HoXtY5Gr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237241AbhETKhR (ORCPT + 99 others); Thu, 20 May 2021 06:37:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:55262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235567AbhETKXt (ORCPT ); Thu, 20 May 2021 06:23:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6646461A24; Thu, 20 May 2021 09:48:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621504133; bh=uLYGGWE3AEh54ainvfUuzoOS8Gua1Ldb6foKwiA1TA0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HoXtY5GrLCh1JFMdur5fc2ZcCixSVQgiaV8vLVNMpE846/kouS3Pl7sm/21uPEeSl gReOk81F2SFHQJl1vil7zx9+yAnRIT1UCcDUqxwXxSgNZWubZQpIUCfPUIrSXDx+i8 BHUWGqmmC4JEqpvDKwpD8GK4G+bIo+p1HQJLAsuM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christoph Hellwig , Jessica Yu Subject: [PATCH 4.14 108/323] modules: rename the licence field in struct symsearch to license Date: Thu, 20 May 2021 11:20:00 +0200 Message-Id: <20210520092123.802884867@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092120.115153432@linuxfoundation.org> References: <20210520092120.115153432@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christoph Hellwig commit cd8732cdcc37d7077c4fa2c966b748c0662b607e upstream. Use the same spelling variant as the rest of the file. Signed-off-by: Christoph Hellwig Signed-off-by: Jessica Yu Signed-off-by: Greg Kroah-Hartman --- include/linux/module.h | 2 +- kernel/module.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/include/linux/module.h +++ b/include/linux/module.h @@ -526,7 +526,7 @@ struct symsearch { NOT_GPL_ONLY, GPL_ONLY, WILL_BE_GPL_ONLY, - } licence; + } license; bool unused; }; --- a/kernel/module.c +++ b/kernel/module.c @@ -511,9 +511,9 @@ static bool check_symbol(const struct sy struct find_symbol_arg *fsa = data; if (!fsa->gplok) { - if (syms->licence == GPL_ONLY) + if (syms->license == GPL_ONLY) return false; - if (syms->licence == WILL_BE_GPL_ONLY && fsa->warn) { + if (syms->license == WILL_BE_GPL_ONLY && fsa->warn) { pr_warn("Symbol %s is being used by a non-GPL module, " "which will not be allowed in the future\n", fsa->name);