kernel/workqueue: Use __printf markup to silence compiler in function 'alloc_workqueue'
authorMathieu Malaterre <malat@debian.org>
Tue, 12 Mar 2019 20:21:26 +0000 (21:21 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 15 Mar 2019 15:47:22 +0000 (08:47 -0700)
commita2775bbc1d58ce630517dfe86090c166f27d719f
tree6e56619ad1beb5b034aaf31ed3548ce79aa12733
parentf261c4e529dac5608a604d3dd3ae1cd2adf23c89
kernel/workqueue: Use __printf markup to silence compiler in function 'alloc_workqueue'

Silence warnings (triggered at W=1) by adding relevant __printf attributes.

  kernel/workqueue.c:4249:2: warning: function 'alloc_workqueue' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c