diff options
| author | Tom Rix <trix@redhat.com> | 2023-05-02 13:11:21 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2023-05-02 15:46:54 -0400 |
| commit | 340086da9a87820b40601141a0e9e87c954ac006 (patch) | |
| tree | 75dcd9cbaa67c90e841a837c70c9de78c0500f21 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | SUNRPC: Avoid relying on crypto API to derive CBC-CTS output IV (diff) | |
| download | linux-340086da9a87820b40601141a0e9e87c954ac006.tar.gz linux-340086da9a87820b40601141a0e9e87c954ac006.zip | |
nfsd: define exports_proc_ops with CONFIG_PROC_FS
gcc with W=1 and ! CONFIG_PROC_FS
fs/nfsd/nfsctl.c:161:30: error: ‘exports_proc_ops’
defined but not used [-Werror=unused-const-variable=]
161 | static const struct proc_ops exports_proc_ops = {
| ^~~~~~~~~~~~~~~~
The only use of exports_proc_ops is when CONFIG_PROC_FS
is defined, so its definition should be likewise conditional.
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
