diff options
| author | Su Hui <suhui@nfschina.com> | 2024-12-24 12:43:58 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 13:33:40 +0100 |
| commit | 0e394dd11e95e114401a9c21f5b7a5f51fb644a8 (patch) | |
| tree | 5b2b48ac72dc84fd97eb91189386aacf5f02a279 /scripts/git.orderFile | |
| parent | a0360b9b5f32c4c98bc7fbd01904ead04a5fe37e (diff) | |
| download | linux-0e394dd11e95e114401a9c21f5b7a5f51fb644a8.tar.gz linux-0e394dd11e95e114401a9c21f5b7a5f51fb644a8.tar.bz2 linux-0e394dd11e95e114401a9c21f5b7a5f51fb644a8.zip | |
workqueue: add printf attribute to __alloc_workqueue()
[ Upstream commit d57212f281fda9056412cd6cca983d9d2eb89f53 ]
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 <suhui@nfschina.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
