diff options
author | Hu Yadi <[email protected]> | 2024-01-24 10:29:08 +0800 |
---|---|---|
committer | Mickaël Salaün <[email protected]> | 2024-01-25 16:49:08 +0100 |
commit | 40b7835e74e0383be308d528c5e0e41b3bf72ade (patch) | |
tree | ca2fbd31593854c13df8dc42878cb9dcc53e337e /tools/perf/scripts/python/sched-migration.py | |
parent | 116099ed345c932a8ae4a0d884a8f6cc54fd5fed (diff) |
selftests/landlock: Fix fs_test build with old libc
One issue comes up while building selftest/landlock/fs_test on my side
(gcc 7.3/glibc-2.28/kernel-4.19).
gcc -Wall -O2 -isystem fs_test.c -lcap -o selftests/landlock/fs_test
fs_test.c:4575:9: error: initializer element is not constant
.mnt = mnt_tmp,
^~~~~~~
Signed-off-by: Hu Yadi <[email protected]>
Suggested-by: Jiao <[email protected]>
Reviewed-by: Berlin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 04f9070e99a4 ("selftests/landlock: Add tests for pseudo filesystems")
[mic: Factor out mount's data string and make mnt_tmp static]
Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions