diff options
| author | Peng Jiang <[email protected]> | 2025-06-20 00:41:04 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2025-07-14 07:34:54 +0000 |
| commit | b7efeb081ed3b80c6af38c285f5c3b5d15c560e9 (patch) | |
| tree | 34bc90b138908a039a2b90bf34d0e6072a3c5112 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | Linux 6.16-rc6 (diff) | |
| download | kernel-b7efeb081ed3b80c6af38c285f5c3b5d15c560e9.tar.gz kernel-b7efeb081ed3b80c6af38c285f5c3b5d15c560e9.zip | |
xen/xenbus: fix W=1 build warning in xenbus_va_dev_error function
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 be
a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
Signed-off-by: Peng Jiang <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
