linux-stable/tools/testing/selftests/clone3
Anders Roxell a531b0c23c selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
Building selftests/clone3 with clang warns about enumeration not handled
in switch case:

clone3.c:54:10: warning: enumeration value 'CLONE3_ARGS_NO_TEST' not handled in switch [-Wswitch]
        switch (test_mode) {
                ^

Add the missing switch case with a comment.

Fixes: 17a810699c ("selftests: add tests for clone3()")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2021-12-10 16:46:01 -07:00
..
.gitignore selftests: add clone3() CAP_CHECKPOINT_RESTORE test 2020-07-20 15:47:42 +02:00
clone3.c selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST 2021-12-10 16:46:01 -07:00
clone3_cap_checkpoint_restore.c selftests: clone3: use SKIP instead of XFAIL 2020-11-05 10:08:15 -07:00
clone3_clear_sighand.c selftests/clone3: Avoid OS-defined clone_args 2020-10-08 13:17:25 -07:00
clone3_selftests.h selftests/clone3: Avoid OS-defined clone_args 2020-10-08 13:17:25 -07:00
clone3_set_tid.c selftests/clone3: Avoid OS-defined clone_args 2020-10-08 13:17:25 -07:00
Makefile selftests/clone3: Fix build error 2020-12-07 14:34:55 -07:00