Re: [PATCH 3/8] x86: use long long for 64-bit atomic ops

From: Dmitry Vyukov
Date: Fri May 26 2017 - 15:29:49 EST


On Tue, Mar 28, 2017 at 11:32 PM, Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> On Tue, Mar 28, 2017 at 06:15:40PM +0200, Dmitry Vyukov wrote:
>> @@ -193,12 +193,12 @@ static inline long atomic64_xchg(atomic64_t *v, long new)
>> * @a: the amount to add to v...
>> * @u: ...unless v is equal to u.
>> *
>> - * Atomically adds @a to @v, so long as it was not @u.
>> + * Atomically adds @a to @v, so long long as it was not @u.
>> * Returns the old value of @v.
>> */
>
> That's a clbuttic mistake!
>
> https://www.google.com/search?q=clbuttic


Fixed in v2:
https://groups.google.com/forum/#!topic/kasan-dev/3PoGcuMku-w
Thanks