diff options
author | 2025-01-15 11:52:11 +0100 | |
---|---|---|
committer | 2025-05-09 13:12:33 -0600 | |
commit | 11f6dcf784533fd72ceddbc69884f8d7f82109fd (patch) | |
tree | 3c7e9cb9741adc8ea6c9de8828c63c7d6cac714f /scripts/lib/kdoc/kdoc_files.py | |
parent | kselftest: cpufreq: Get rid of double suspend in rtcwake case (diff) | |
download | linux-rng-11f6dcf784533fd72ceddbc69884f8d7f82109fd.tar.xz linux-rng-11f6dcf784533fd72ceddbc69884f8d7f82109fd.zip |
selftests: pid_namespace: add missing sys/mount.h include in pid_max.c
Fix compile on openSUSE Tumbleweed (gcc-14.2.1, glibc-2.40):
- add missing sys/mount.h include
Fixes:
pid_max.c: In function ‘pid_max_cb’:
pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration]
42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0);
| ^~~~~
Link: https://lore.kernel.org/r/20250115105211.390370-3-ps.report@gmx.net
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: T.J. Mercier <tjmercier@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions