Re: [PATCH] workqueue: annotate alloc_workqueue() as printf

From: Tejun Heo
Date: Mon Sep 13 2021 - 13:53:28 EST


On Mon, Sep 13, 2021 at 12:02:56PM +0200, Rolf Eike Beer wrote:
> This also enables checking of allows alloc_ordered_workqueue().
>
> Signed-off-by: Rolf Eike Beer <eb@xxxxxxxxx>

Applied to wq/for-5.16.

> +__printf(1, 4) struct workqueue_struct *alloc_workqueue(const char *fmt,
> + unsigned int flags,
> + int max_active, ...);

I broke the line after the return type while applying.

Thanks.

--
tejun