Re: [PATCH v6 0/8] Add printf attribute to kselftest functions

2023-10-15 Thread Maciej Wieczór-Retman
On 2023-10-13 at 15:03:11 -0600, Shuah wrote: >On 10/13/23 05:36, Maciej Wieczor-Retman wrote: >> kselftest.h declares many variadic functions that can print some >> formatted message while also executing selftest logic. These >> declarations don't have any compiler mechanism to verify if passed >>

Re: [PATCH v6 0/8] Add printf attribute to kselftest functions

2023-10-13 Thread Reinette Chatre
On 10/13/2023 2:03 PM, Shuah wrote: > Applied this series and the following three - all 25 patches are > in linux-kselftest next for Linux 6.7-rc1. > > [1] > https://lore.kernel.org/all/cover.1696932728.git.maciej.wieczor-ret...@intel.com/ > [2] > https://lore.kernel.org/all/20231002094813.66

Re: [PATCH v6 0/8] Add printf attribute to kselftest functions

2023-10-13 Thread Shuah
On 10/13/23 05:36, Maciej Wieczor-Retman wrote: kselftest.h declares many variadic functions that can print some formatted message while also executing selftest logic. These declarations don't have any compiler mechanism to verify if passed arguments are valid in comparison with format specifiers

[PATCH v6 0/8] Add printf attribute to kselftest functions

2023-10-13 Thread Maciej Wieczor-Retman
kselftest.h declares many variadic functions that can print some formatted message while also executing selftest logic. These declarations don't have any compiler mechanism to verify if passed arguments are valid in comparison with format specifiers used in printf() calls. Attribute addition can m