From: Chuck Lever <chuck.lever@xxxxxxxxxx> 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