Re: [PATCH] selftests: kselftest_harness: Print empty string, not empty fmt on PASS/FAIL

From: Jakub Kicinski
Date: Tue Apr 09 2024 - 19:53:32 EST


On Tue, 9 Apr 2024 16:46:40 -0700 Kees Cook wrote:
> ksft_test_result_code(t->exit_code, test_name, "%s",
> diagnostic ?: "");

Could work, but we need to change the callee to extract the first arg
after format from va_arg, which I wasn't sufficiently familiar with :(