Re: [RFC PATCH 1/4] asm-generic/barrier: add generic nospec helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux