Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1108850pxb; Thu, 28 Jan 2021 08:12:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9+K4Lo/HpRgvAQuoOFjPBvtZQLRPXGGW4zOWmPtH/O9tosk/LwkrleZrd8kCJixCZpjBX X-Received: by 2002:a17:906:4442:: with SMTP id i2mr87493ejp.41.1611850331797; Thu, 28 Jan 2021 08:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611850331; cv=none; d=google.com; s=arc-20160816; b=XeFmtrFZJlJSRJmw2QPMjVFWMkxMebFsoyMZpBkkqlFEjKxqpKBrWIQo09GcVc8feP Hpmkg+bqyC4xgnlV1TR9AHV51NJI2k6/FNkEQNZgUN84Minfm+5Ll3SoXZ1ss8PEnc1X I/vCYPPxi84y4e6uVgHcs9gkuBeaywCIGRnfFaZ3qL/tYDCFpKYUZDeLofgu2INdnjlp /rimAWWDqU3odPZ8Vt3h+iwoMRd7PWmxE43j1243c82lVLttxts4yS5lcPrWfnGxzbM+ WL3bURlXibQtdI9GVV5H/yCM2kL++3f9rhe2myeI6mhHKUr4ri60UyGhxZsTHWdmjtdd 9jgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qMpPOcwaSTLwRrg98or4BKYJv2+XSslywIe+Y4sQ0xM=; b=MI0apI07qSJWHeN0eyIYl+JlkDkKGFNoy0wrMw5MxgenfuGhnQCSr8BHARh41mFtQi 1VgfPsFgp3te3ha49OaKA97CGDkZKde7MexwTyRhfpcr07qhZrWgeEgHLXs2XvczFAQz xlIi/0CrrogZC4dSWlAXWVE3CaFQvklSRTN2PgxVn9x+WR5UDMY7sE8F50Za3E84ocI1 fuPonPxHhFF73Nt5DWA/drAg7Cu2IFf8N89bSZlBMDVwXZJQmXpZfx2n5j5uVSSqI2tx KP5WcuPUGdc/Lo1XTrRb4eBjDY0Fs/NG32IOPdWxbcPyadeP0HzM029ALZ2/lBQ2NTKo wfaA== 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 ch5si2897953ejb.407.2021.01.28.08.11.45; Thu, 28 Jan 2021 08:12:11 -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 S232213AbhA1QKo (ORCPT + 99 others); Thu, 28 Jan 2021 11:10:44 -0500 Received: from verein.lst.de ([213.95.11.211]:57915 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232072AbhA1QKm (ORCPT ); Thu, 28 Jan 2021 11:10:42 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id A3B7068AFE; Thu, 28 Jan 2021 17:09:57 +0100 (CET) Date: Thu, 28 Jan 2021 17:09:57 +0100 From: Christoph Hellwig To: Jessica Yu Cc: Christoph Hellwig , Frederic Barrat , Andrew Donnellan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, dri-devel@lists.freedesktop.org, live-patching@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH 13/13] module: remove EXPORY_UNUSED_SYMBOL* Message-ID: <20210128160957.GA2504@lst.de> References: <20210121074959.313333-1-hch@lst.de> <20210121074959.313333-14-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 02:49:38PM +0100, Jessica Yu wrote: >> #ifdef CONFIG_MODULE_SIG >> /* Signature was verified. */ >> bool sig_ok; >> @@ -592,7 +580,6 @@ struct symsearch { >> GPL_ONLY, >> WILL_BE_GPL_ONLY, >> } license; >> - bool unused; >> }; > Thanks for the cleanups. While we're here, I noticed that struct > symsearch is only used internally in kernel/module.c, so I don't think > it actually needs to be in include/linux/module.h. I don't see it used > anywhere else. We could move maybe that to kernel/module-internal.h. I've added a patch to just move it directly into module.c.