tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 1eb586a9782cde8e5091b9de74603e0a8386b09e commit: f0f1033dd078339a6588b571fe1243e2a2c5e519 [7805/9027] selftests: add a test for the foreign mnt ns extensions :::::: branch date: 19 hours ago :::::: commit date: 4 days ago compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/r/202406292304.Tt6HUPmY-lkp@intel.com/ All warnings (new ones prefixed by >>): >> statmount_test_ns.c:27:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 27 | ksft_test_result_pass(testname); | ^~~~~~~~ statmount_test_ns.c:27:25: note: treat the string as an argument to avoid this 27 | ksft_test_result_pass(testname); | ^ | "%s", statmount_test_ns.c:29:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 29 | ksft_test_result_fail(testname); | ^~~~~~~~ statmount_test_ns.c:29:25: note: treat the string as an argument to avoid this 29 | ksft_test_result_fail(testname); | ^ | "%s", statmount_test_ns.c:31:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 31 | ksft_exit_fail_msg(testname); | ^~~~~~~~ statmount_test_ns.c:31:22: note: treat the string as an argument to avoid this 31 | ksft_exit_fail_msg(testname); | ^ | "%s", statmount_test_ns.c:33:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 33 | ksft_test_result_skip(testname); | ^~~~~~~~ statmount_test_ns.c:33:25: note: treat the string as an argument to avoid this 33 | ksft_test_result_skip(testname); | ^ | "%s", 4 warnings generated. vim +27 tools/testing/selftests/filesystems/statmount/statmount_test_ns.c f0f1033dd07833 Josef Bacik 2024-06-24 23 f0f1033dd07833 Josef Bacik 2024-06-24 24 static void handle_result(int ret, const char *testname) f0f1033dd07833 Josef Bacik 2024-06-24 25 { f0f1033dd07833 Josef Bacik 2024-06-24 26 if (ret == NSID_PASS) f0f1033dd07833 Josef Bacik 2024-06-24 @27 ksft_test_result_pass(testname); f0f1033dd07833 Josef Bacik 2024-06-24 28 else if (ret == NSID_FAIL) f0f1033dd07833 Josef Bacik 2024-06-24 29 ksft_test_result_fail(testname); f0f1033dd07833 Josef Bacik 2024-06-24 30 else if (ret == NSID_ERROR) f0f1033dd07833 Josef Bacik 2024-06-24 31 ksft_exit_fail_msg(testname); f0f1033dd07833 Josef Bacik 2024-06-24 32 else f0f1033dd07833 Josef Bacik 2024-06-24 33 ksft_test_result_skip(testname); f0f1033dd07833 Josef Bacik 2024-06-24 34 } f0f1033dd07833 Josef Bacik 2024-06-24 35 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki