summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/landlock/fs_test.c
diff options
context:
space:
mode:
authorGünther Noack <gnoack3000@gmail.com>2022-10-18 20:22:12 +0200
committerMickaël Salaün <mic@digikod.net>2022-10-19 09:01:46 +0200
commit97b30f9e35709e9d2885efc5c1cd0bf54331ea3d (patch)
treee616f0e223319c7792863730aea02f4c6e9e5d9c /tools/testing/selftests/landlock/fs_test.c
parent41729af28fb4b2c6581edcdfba19dd7fa81bf43c (diff)
selftests/landlock: Locally define __maybe_unused
The checkpatch tool started to flag __attribute__(__unused__), which we previously used. The header where this is normally defined is not currently compatible with selftests. This is the same approach as used in selftests/net/psock_lib.h. Signed-off-by: Günther Noack <gnoack3000@gmail.com> Link: https://lore.kernel.org/r/20221018182216.301684-8-gnoack3000@gmail.com Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/testing/selftests/landlock/fs_test.c')
0 files changed, 0 insertions, 0 deletions