aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorSu Hui <[email protected]>2024-12-24 04:43:58 +0000
committerTejun Heo <[email protected]>2024-12-24 19:50:38 +0000
commitd57212f281fda9056412cd6cca983d9d2eb89f53 (patch)
tree421d1b280685ce4a43b05e87a793ef3383c185c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentworkqueue: Do not warn when cancelling WQ_MEM_RECLAIM work from !WQ_MEM_RECLA... (diff)
downloadkernel-d57212f281fda9056412cd6cca983d9d2eb89f53.tar.gz
kernel-d57212f281fda9056412cd6cca983d9d2eb89f53.zip
workqueue: add printf attribute to __alloc_workqueue()
Fix a compiler warning with W=1: kernel/workqueue.c: error: function ‘__alloc_workqueue’ might be a candidate for ‘gnu_printf’ format attribute[-Werror=suggest-attribute=format] 5657 | name_len = vsnprintf(wq->name, sizeof(wq->name), fmt, args); | ^~~~~~~~ Fixes: 9b59a85a84dc ("workqueue: Don't call va_start / va_end twice") Signed-off-by: Su Hui <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions