diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 21:56:12 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-05-17 09:16:59 +0200 |
commit | 247c8d2f9837a3e29e3b6b7a4aa9c36c37659dd4 (patch) | |
tree | e89e4159a229e7ec0f9fa34b1a9db8e27b4ccb92 /tools/perf/scripts/python/stackcollapse.py | |
parent | df67cb4c58fbb80399a99d47a554a67829f90dda (diff) |
fs: pipe: reveal missing function protoypes
A couple of functions from fs/pipe.c are used both internally
and for the watch queue code, but the declaration is only
visible when the latter is enabled:
fs/pipe.c:1254:5: error: no previous prototype for 'pipe_resize_ring'
fs/pipe.c:758:15: error: no previous prototype for 'account_pipe_buffers'
fs/pipe.c:764:6: error: no previous prototype for 'too_many_pipe_buffers_soft'
fs/pipe.c:771:6: error: no previous prototype for 'too_many_pipe_buffers_hard'
fs/pipe.c:777:6: error: no previous prototype for 'pipe_is_unprivileged_user'
Make the visible unconditionally to avoid these warnings.
Fixes: c73be61cede5 ("pipe: Add general notification queue support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Message-Id: <20230516195629.551602-1-arnd@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions