[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174085145847.10954.136116488472523421.b4-ty@oracle.com>
Date: Sat, 1 Mar 2025 12:51:20 -0500
From: cel@...nel.org
To: Trond Myklebust <trondmy@...nel.org>,
Anna Schumaker <anna@...nel.org>,
Jeff Layton <jlayton@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
NeilBrown <neilb@...e.de>,
"J. Bruce Fields" <bfields@...ldses.org>,
Arnd Bergmann <arnd@...nel.org>
Cc: Chuck Lever <chuck.lever@...cle.com>,
Arnd Bergmann <arnd@...db.de>,
Olga Kornievskaia <okorniev@...hat.com>,
Dai Ngo <Dai.Ngo@...cle.com>,
Tom Talpey <tom@...pey.com>,
Simon Horman <horms@...nel.org>,
Yang Erkun <yangerkun@...wei.com>,
linux-nfs@...r.kernel.org,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [RESEND] sunrpc: suppress warnings for unused procfs functions
From: Chuck Lever <chuck.lever@...cle.com>
On Tue, 25 Feb 2025 15:52:21 +0100, Arnd Bergmann wrote:
> There is a warning about unused variables when building with W=1 and no procfs:
>
> net/sunrpc/cache.c:1660:30: error: 'cache_flush_proc_ops' defined but not used [-Werror=unused-const-variable=]
> 1660 | static const struct proc_ops cache_flush_proc_ops = {
> | ^~~~~~~~~~~~~~~~~~~~
> net/sunrpc/cache.c:1622:30: error: 'content_proc_ops' defined but not used [-Werror=unused-const-variable=]
> 1622 | static const struct proc_ops content_proc_ops = {
> | ^~~~~~~~~~~~~~~~
> net/sunrpc/cache.c:1598:30: error: 'cache_channel_proc_ops' defined but not used [-Werror=unused-const-variable=]
> 1598 | static const struct proc_ops cache_channel_proc_ops = {
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Applied to nfsd-testing, thanks!
[1/1] sunrpc: suppress warnings for unused procfs functions
commit: 707f5c1dc5320be41b05d75624fa6423e058f4a8
--
Chuck Lever
Powered by blists - more mailing lists