This allows the compiler to check the arguments against the __printf() attribute on __test(). This produces better diagnostics when incorrect inputs are passed. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202512061600.89CKQ3ag-lkp@intel.com/ Signed-off-by: Tamir Duberstein <tamird@kernel.org> Reviewed-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20260121-printf-kunit-printf-attr-v3-1-4144f337ec8b@kernel.org Signed-off-by: Petr Mladek <pmladek@suse.com> |
||
|---|---|---|
| .. | ||
| module | ||
| bitfield_kunit.c | ||
| blackhole_dev_kunit.c | ||
| checksum_kunit.c | ||
| cmdline_kunit.c | ||
| cpumask_kunit.c | ||
| ffs_kunit.c | ||
| fortify_kunit.c | ||
| hashtable_test.c | ||
| is_signed_type_kunit.c | ||
| kfifo_kunit.c | ||
| kunit_iov_iter.c | ||
| list-test.c | ||
| longest_symbol_kunit.c | ||
| Makefile | ||
| memcpy_kunit.c | ||
| overflow_kunit.c | ||
| printf_kunit.c | ||
| randstruct_kunit.c | ||
| scanf_kunit.c | ||
| seq_buf_kunit.c | ||
| siphash_kunit.c | ||
| slub_kunit.c | ||
| stackinit_kunit.c | ||
| string_helpers_kunit.c | ||
| string_kunit.c | ||
| test_bits.c | ||
| test_fprobe.c | ||
| test_hash.c | ||
| test_kprobes.c | ||
| test_linear_ranges.c | ||
| test_list_sort.c | ||
| test_ratelimit.c | ||
| test_sort.c | ||
| usercopy_kunit.c | ||
| util_macros_kunit.c | ||