Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651587

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

From Dmitry Vyukov <dvyukov@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/8] x86: use long long for 64-bit atomic ops
Date 2017-05-26 21:30 +0200
Message-ID <tLt5U-1sR-13@gated-at.bofh.it> (permalink)
References <tq20H-1Mi-39@gated-at.bofh.it> <tq20I-1Mi-63@gated-at.bofh.it> <tq70n-5jM-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 28, 2017 at 11:32 PM, Matthew Wilcox <willy@infradead.org> 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 3/8] x86: use long long for 64-bit atomic ops Dmitry Vyukov <dvyukov@google.com> - 2017-05-26 21:30 +0200

csiph-web