lkml.org 
[lkml]   [2020]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 1/6] irq_work: Cleanup
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@kernel.org>

Thanks.

\
 
 \ /
  Last update: 2020-10-28 23:21    [W:0.158 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site