Re: [PATCH v2] xen/xenbus: fix W=1 build warning in xenbus_va_dev_error function

2025-06-20 Thread jiang.peng9
> PS: Next time please don't send another version of a patch as a reply, > but as a new email thread. Got it! New threads for future patches - thanks for the heads up.Sorry for any inconvenience caused, and thanks again for your patience with a newcomer like me. Best regards Peng

Re: [PATCH v2] xen/xenbus: fix W=1 build warning in xenbus_va_dev_error function

2025-06-20 Thread Jürgen Groß
On 20.06.25 02:41, jiang.pe...@zte.com.cn wrote: From: Peng Jiang 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 s

Re: [PATCH v2] xen/xenbus: fix W=1 build warning in xenbus_va_dev_error function

2025-06-19 Thread jiang.peng9
From: Peng Jiang 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 tr