lkml.org 
[lkml]   [2018]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 1/4] asm-generic/barrier: add generic nospec helpers
On Wed, Jan 03, 2018 at 10:38:24PM +0000, Mark Rutland wrote:
> +#define nospec_array_load(arr, idx, sz) \
> +({ \
> + typeof(*(arr)) *__arr = arr; \
> + typeof(idx) __idx = idx; \
> + typeof(sz) __sz = __sz; \

Whoops. The second __sz should be sz here.

Mark.

\
 
 \ /
  Last update: 2018-01-04 13:01    [W:0.080 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site