lkml.org 
[lkml]   [2018]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv4 08/18] atomics/generic: define atomic64_fetch_add_unless()
On Thu, Jun 21, 2018 at 01:13:11PM +0100, Mark Rutland wrote:
> - if (v->counter != u) {
> + val = v->counter;
> + if (val != u)
> v->counter += a;
> - ret = true;
> }

Ugh, I thought I had fixed this up and removed the trailing brace.

This will break some 32-bit arches as-is.

Ingo, would you be hapyp to fix this up, or would you prefer that I fix
and resend?

Sorry about this.

Mark.

\
 
 \ /
  Last update: 2018-06-21 14:21    [W:0.071 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site