Re: [PATCH v3 1/6] irq_work: Cleanup
From: Frederic Weisbecker
Date: Wed Oct 28 2020 - 20:34:45 EST
On Wed, Oct 28, 2020 at 12:07:08PM +0100, Peter Zijlstra wrote:
> +#define __IRQ_WORK_INIT(_func, _flags) (struct irq_work){ \
> + .node = { .u_flags = (_flags), }, \
I guess, just for the sake of being conservative:
+ .node = { .a_flags = ATOMIC_INIT(_flags), },
> + .func = (_func), \
> +}
Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>
Thanks.