Re: [PATCH] kernel/workqueue: Verify alloc_workqueue() argument list consistency

From: Alexander Duyck
Date: Mon Apr 15 2019 - 16:46:48 EST


On Mon, 2019-04-15 at 10:09 -0700, Bart Van Assche wrote:
> On Tue, 2019-03-19 at 10:40 -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 <jiangshanlai@xxxxxxxxx>
> > Cc: Alexander Duyck <alexander.h.duyck@xxxxxxxxxxxxxxx>
> > Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> > Fixes: 669de8bda87b ("kernel/workqueue: Use dynamic lockdep keys for workqueues")
> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
> > ---
> > include/linux/workqueue.h | 1
> > 1 file changed, 1 insertion()
> >
> > diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
> > index d59525fca4d3..30737b5183c0 100644
> > --- a/include/linux/workqueue.h
> > ïïçëëâìâäçêä î,7 @@ extern struct workqueue_struct *system_freezable_power_efficient_wq;
> > * RETURNS:
> > * Pointer to the allocated workqueue on success, %NULL on failure.
> > */
> > __printf(1, 4)
> > struct workqueue_struct *alloc_workqueue(const char *fmt,
> > unsigned int flags,
> > int max_active, ...);
>
> Ping?
>
> Bart.

I'm not sure if your Cc list is really the right people to be reviewing
the patch. Wouldn't it make more sense to Cc the people who were on the
original patch that you are now fixing?