Re: [PATCH] KVM: selftests: Add printf attribute to _no_printf()

2025-01-09 Thread Sean Christopherson
On Fri, 13 Dec 2024 14:30:00 -0800, Reinette Chatre wrote: > Annotate the KVM selftests' _no_printf() with the printf format attribute > so that the compiler can help check parameters provided to pr_debug() and > pr_info() irrespective of DEBUG and QUIET being defined. > > [reinette: move attribut

[PATCH] KVM: selftests: Add printf attribute to _no_printf()

2024-12-13 Thread Reinette Chatre
From: Isaku Yamahata Annotate the KVM selftests' _no_printf() with the printf format attribute so that the compiler can help check parameters provided to pr_debug() and pr_info() irrespective of DEBUG and QUIET being defined. [reinette: move attribute right after storage class, rework changelog]