Re: [PATCH] kernel/workqueue: Use __printf markup to silence compiler in function 'alloc_workqueue'
From: Tejun Heo
Date: Fri Mar 15 2019 - 11:47:56 EST
On Tue, Mar 12, 2019 at 09:21:26PM +0100, Mathieu Malaterre wrote:
> 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@xxxxxxxxxx>
Applied to wq/for-5.2.
Thanks.
--
tejun