On Tue, Mar 19, 2019 at 10:40:47AM -0700, Bart Van Assche wrote:
> This patch avoids that gcc reports the following warning when building
> with W=1:
> 
> kernel/workqueue.c:4250:2: warning: function alloc_workqueue might be a 
> candidate for gnu_printf format attribute [-Wsuggest-attribute=format]
>   vsnprintf(wq->name, sizeof(wq->name), fmt, args);
> 
> Cc: Lai Jiangshan <[email protected]>
> Cc: Alexander Duyck <[email protected]>
> Cc: Dan Williams <[email protected]>
> Fixes: 669de8bda87b ("kernel/workqueue: Use dynamic lockdep keys for 
> workqueues")
> Signed-off-by: Bart Van Assche <[email protected]>

Applied to wq/for-5.2.

Thanks.

-- 
tejun

Reply via email to