diff options
| author | Ben Dooks <ben.dooks@codethink.co.uk> | 2026-01-06 17:37:45 +0000 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@oracle.com> | 2026-02-09 14:24:19 -0500 |
| commit | 728bea264883031c377fcc9c465b650dbfd1bbf5 (patch) | |
| tree | 894aa18260d2167d7ae8eaf8fb49a15b2858ea1d /scripts/subarch.include | |
| parent | e29a3e61eef6b6c2e60bc1872e9da3bcdbc46c17 (diff) | |
sunrpc: rpc_debug and others are defined even if CONFIG_SUNRPC_DEBUG unset
The rpc_debug, nfs_debug, nfsd_debug and nlm_debug are exported
even if CONFIG_SUNRPC_DEBUG is not set. This means that the
debug header should also define these to remove the following
sparse warnings:
net/sunrpc/sysctl.c:29:17: warning: symbol 'rpc_debug' was not declared. Should it be static?
net/sunrpc/sysctl.c:32:17: warning: symbol 'nfs_debug' was not declared. Should it be static?
net/sunrpc/sysctl.c:35:17: warning: symbol 'nfsd_debug' was not declared. Should it be static?
net/sunrpc/sysctl.c:38:17: warning: symbol 'nlm_debug' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'scripts/subarch.include')
0 files changed, 0 insertions, 0 deletions
