lkml.org 
[lkml]   [2024]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] selftests: kselftest_harness: Print empty string, not empty fmt on PASS/FAIL
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 :(

\
 
 \ /
  Last update: 2024-05-27 16:31    [W:0.069 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site