On 18.06.25 04:01, jiang.pe...@zte.com.cn wrote:
From: Peng Jiang <jiang.pe...@zte.com.cn>This patch fixes a W=1 format-string warning reported by GCC 12.3.0 by annotating xenbus_switch_fatal() and xenbus_va_dev_error() with the __printf attribute. The attribute enables compile-time validation of printf-style format strings in these functions. The original warning trace:drivers/xen/xenbus/xenbus_client.c:304:9: warning: function 'xenbus_va_dev_error' might bea candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] Signed-off-by: Peng Jiang <jiang.pe...@zte.com.cn>
I'm fine with the changes as such, but please send the patch as a plain text email (no HTML). Otherwise I'm not able to apply it. You should look into Documentation/process/email-clients.rst in the kernel source tree. Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature