diff options
author | Arnd Bergmann <[email protected]> | 2023-07-24 14:18:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-05 08:31:42 +0200 |
commit | 79038a99445f69c5d28494dd4f8c6f0509f65b2e (patch) | |
tree | bd982d6acef758007088e4c3e537ca07db8e1b25 /scripts/clang-tools/gen_compile_commands.py | |
parent | 7630ea17f4e273ea68ec4ff88d6c71503a68f120 (diff) |
kernfs: add stub helper for kernfs_generic_poll()
In some randconfig builds, kernfs ends up being disabled, so there is no prototype
for kernfs_generic_poll()
In file included from kernel/sched/build_utility.c:97:
kernel/sched/psi.c:1479:3: error: implicit declaration of function 'kernfs_generic_poll' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
kernfs_generic_poll(t->of, wait);
^
Add a stub helper for it, as we have it for other kernfs functions.
Fixes: aff037078ecae ("sched/psi: use kernfs polling functions for PSI trigger polling")
Fixes: 147e1a97c4a0b ("fs: kernfs: add poll file operation")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Chengming Zhou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions