Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1902129pxb; Wed, 9 Feb 2022 07:00:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3KOx7U9Zl45yxMJYW/oVeAIWl/A1OsJ9LVyFNnSyzdW08dRs++dRCmnhVNfqKgAECRhP2 X-Received: by 2002:a05:6402:356:: with SMTP id r22mr2961117edw.218.1644418857429; Wed, 09 Feb 2022 07:00:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644418857; cv=none; d=google.com; s=arc-20160816; b=Hn9PfRMAIwx3uJX4+qz2Mram3Wo6ckf3i8aEQvLvD5bh5bB7AJWSoMctN6mktXrIQI ZhnaZDGMhV8Tpsd4DXOT/VIv7KPcXo+tHyNchd+wW/sf9pjs6bQ3VWm2iI5kN0r6Bp/V 9S2HjT3BMoNw3FAmsl/G+orAX1cJmnyVY2J2Buh4fzenDQ2f5RZUqR1AKxCEvJAxogtR 6Uln0E0jyDXKTRiLhC6mlFinL5fyuhG4x6FBtXWXRJlk2pa7XclT0gqDe/5ov4I4Itfa qJrJbQuFI/LDrZD74in262XvW10+q29Kn+IvuWFUAjroYTRRnbZ77scprLt9DNO62q94 /0jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Va4mx11NsuvUSnhducHkLw0PFkBKkWSVhcsYlIzTVXw=; b=LNKAXPqNHZEX7YyqVYFV8FDF13bIdxs3+geHALCLB3nMKkR9XmohfrKFMpVLdvL43A 222191CxrbjyB6fYh1GOKAXzGhGEvsq1CjUQT0YAesUx+80izK40I0Abi/Qfh6QJed9K gZwlvHEv3mTJP//7r2hUeVv/B5rN8TOfSgIY7Okw288Ow+1E7L0TxaSQrRQ59IHc1pzu k9pwqtdezIlcVkGismTUOaVPBP6Cu+APdZGRH261oAGaCrBmL/Aeua+RuChyYhmjNC0e pGkNDTyZIEIcQr/t4L8PY0NrJF5TTsUHecCLWweGGVJ5oUnJgIJH0WgK1dihYrSCvtzW r0eg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mp38si3004958ejc.549.2022.02.09.07.00.29; Wed, 09 Feb 2022 07:00:57 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235125AbiBIOkN (ORCPT + 99 others); Wed, 9 Feb 2022 09:40:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbiBIOkM (ORCPT ); Wed, 9 Feb 2022 09:40:12 -0500 X-Greylist: delayed 136 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 09 Feb 2022 06:40:15 PST Received: from p3plsmtpa07-09.prod.phx3.secureserver.net (p3plsmtpa07-09.prod.phx3.secureserver.net [173.201.192.238]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34DBC06157B for ; Wed, 9 Feb 2022 06:40:15 -0800 (PST) Received: from localhost ([82.17.115.212]) by :SMTPAUTH: with ESMTPA id Ho6WnCu31VyEtHo6Yn8W0P; Wed, 09 Feb 2022 07:37:58 -0700 X-CMAE-Analysis: v=2.4 cv=YLFadTKx c=1 sm=1 tr=0 ts=6203d1c6 a=9gipVNR6X1CoIeAWHwLoWw==:117 a=9gipVNR6X1CoIeAWHwLoWw==:17 a=IkcTkHD0fZMA:10 a=9GtVR73LUgLZNubTt3gA:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: atomlin@atomlin.com Date: Wed, 9 Feb 2022 14:37:56 +0000 From: Aaron Tomlin To: Miroslav Benes Cc: Aaron Tomlin , mcgrof@kernel.org, cl@linux.com, pmladek@suse.com, akpm@linux-foundation.org, jeyu@kernel.org, linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org, live-patching@vger.kernel.org, ghalat@redhat.com, allen.lkml@gmail.com, void@manifault.com, joe@perches.com Subject: Re: [RFC PATCH v4 07/13] module: Move extra signature support out of core code Message-ID: <20220209143756.53gw3ve46gaseqny@ava.usersys.com> References: <20220130213214.1042497-1-atomlin@redhat.com> <20220130213214.1042497-8-atomlin@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-CMAE-Envelope: MS4xfEeLTpDb717gdYrJ8fyJj8u9SbuxXa0FoEtTxchN+RygMn6avjFjDz9N44ZAJn4NF09emarra7B7k6YWEXFkXy4jjlZTCK/syx62dS3QtHH4AyFDi5zi m3KD+EFRaWERrm8o5Igt7fu78oTLn6xk5Zkj3FXHz7HaGODGGQmWOWyMzbvVW7CwHzQdzgbx8hp+U4MN7AGTV7GhbgRIdXswj96qgg+FNkEJ8dFxdk7yeyRu 4lirWRDwcBzIXcYhHjCRR+4QuJNAkRWy724B7CCmb1PvjkcI2ynC43rJYjT2Jlm111JdHg7MTCoiEaehgYS6kJr8qQt+MIi577r4VcKn8CyJku6IErT8y51D bNiEZ9Pbo0WVSAWThlzavS0dLWzjuFnXayYFwGnTWibCR8UJzqjul4LVBlhDne2eQC0CjRWSH6Wwov1l91S2qbCAWg5znBfTaHGdI3luseoeHM+YR18mEAjw Qqvhk7Ynq/E2L0TzbaXhNXabcgiRv9ZGXVP37Rp/eUx3j2L8jHv1DZcbEjSWtBSN9skxXBTh1U2IA4vof5J0BzZAOD+eAO+uhDAul0YH8Cw0ZfQaRAOD2qML LS4= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2022-02-09 15:28 +0100, Miroslav Benes wrote: > Please, drop these extern modifiers in front of function declarations. > They are unnecessary. It applies to different patches of the set as well. Agreed - this was suggested previously. The next iteration should be published soon. Just waiting on 0-day. > > +#ifdef CONFIG_MODULE_SIG > > +extern int module_sig_check(struct load_info *info, int flags); > > +#else /* !CONFIG_MODULE_SIG */ > > +static int module_sig_check(struct load_info *info, int flags) > > +{ > > + return 0; > > +} > > I think it should be > static inline int module_sig_check(struct load_info *info, int flags) Yes, indeed it should. Thanks for the feedback. Kind regards, -- Aaron Tomlin