From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f73.google.com (mail-wr1-f73.google.com [209.85.221.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BA13271A7C for ; Thu, 19 Feb 2026 12:35:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771504538; cv=none; b=mVk7JedJziYK6Wvx2pgd07KOadIz40Yg3McV+UoLp8d+YsTJAWlm7xsTrK2h5e6S4JTyKDkjal9ztpXjVEyvuNn6Z88ercfvJLeXQwjSXQ2s7s0PJqHV45BIT+2bkVStZ5C0cXbl7fsLRMDTlguyEeSI4egn5AJo8sjylvthMp0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771504538; c=relaxed/simple; bh=60tvXHeVsn2fjy0lyiAVPB2Kuo4RYwjbvQo/aluYKk4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ZDVuUPRzKHFBXQR+3BzwgW+7um5Hj40lOO2G0Yc2Nco3DAlzBEU7QxHalo9YHj8km35C6YJQbGaQVcv9mU4m7braThJJTlPyGW/PMWa0LgbtrcNDXfaIk9T5Sdmtcd16yNVAYDxuAWOaR3jKf4Or+iSjNil9rTIakVHYPdOp80E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=UlQpk94Z; arc=none smtp.client-ip=209.85.221.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="UlQpk94Z" Received: by mail-wr1-f73.google.com with SMTP id ffacd0b85a97d-437159d3ff2so604126f8f.1 for ; Thu, 19 Feb 2026 04:35:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1771504534; x=1772109334; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=sQgcSsW9smUP64WccQQTm9/3TGXmBjXVSJT057hAwi4=; b=UlQpk94ZvCBfKKPZQmwWctqr0O2DQrTbvVEyugOY0rPXJUT7ZAcpTFqs4arVvd8NzO 9fDTUSDeCbMSElzAQFwU2qFypETWLZkGRJUbEwS/ap47pN20lDZknyEphlQgN5Goi/eF QJJhcIEiQkgE7N9eKcUaSuOQxI854jUfodHc/g/pRW9OTc2wBIs0+fd5wWykja4leuPO Crs1QVbbfOygnhihuqD65JNxmqcLYkp4AU2Fvn4v0ySjnkfycW36ssrgzzMqYsT2SL3K bx8Rt24wgQmfJxDbXRqfPmBE9m8KgDpozgwpbfHG2P65Pqh8oVuFI4RN0SIq3ntqTwAr YeNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771504534; x=1772109334; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sQgcSsW9smUP64WccQQTm9/3TGXmBjXVSJT057hAwi4=; b=uphkkZivfZyAojwmLq3XDiNQ0nmnUUax2iAhfwAzN8Pqkp4Bhl7LPK+Y+5hogKohFw xQnR8di/SikVAiGNtQtC5U+1CASnlIeK6lpHZy5vM+JsL+0HnwyeZRTo2hd0baHOnvQv NtZX13i7vuVgrO0KUr2h+jHWcOAsxR5pGYz8a7wj5+9D20UrbXDj4Gb5bb0PhGbXC8qG WGheLexFWCxYAiQGyXYDP5saYNHCWHmZTbXOQOITP1qUzyM3uhq5c9wbGHQtS3FFjDJD xdYkk5Br0I2FDGj/aUjaaQx4FH3I+Q3HcTJGYz9FrY231HR4hnJLOg9XiddTl96qmmhh vcpg== X-Forwarded-Encrypted: i=1; AJvYcCWdPwNv50QG8AmO/i2GAZZjBRkt5xVNrZA6gjQZtQlShhitB9K6wZxNgxNZxg4jTPLInBfQDYSMuT3ofJ0=@vger.kernel.org X-Gm-Message-State: AOJu0YysaQybsN8y/V7yvu30LriW8a7f5/amFKvvhcHr89inazLW/pRT ghUw9sxGIyXVe/yZot5kYfrl7GH33me4PvJO4gj9yWVx3HHgKEe/wGOJwVQUNz7NhKSNHlKHukC Gb6JQPW2wwUUALMM7fg== X-Received: from wrop10.prod.google.com ([2002:adf:f20a:0:b0:432:75d8:d550]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6000:24c1:b0:435:b068:d3da with SMTP id ffacd0b85a97d-43796ab18ddmr38555090f8f.4.1771504533805; Thu, 19 Feb 2026 04:35:33 -0800 (PST) Date: Thu, 19 Feb 2026 12:35:32 +0000 In-Reply-To: <20260219-atomic-sub-v2-2-8bd99cadf26d@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260219-atomic-sub-v2-0-8bd99cadf26d@kernel.org> <20260219-atomic-sub-v2-2-8bd99cadf26d@kernel.org> Message-ID: Subject: Re: [PATCH v2 2/2] rust: atomic: update documentation for `fetch_add` From: Alice Ryhl To: Andreas Hindborg Cc: Will Deacon , Peter Zijlstra , Boqun Feng , Mark Rutland , Gary Guo , Miguel Ojeda , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Trevor Gross , Danilo Krummrich , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Content-Type: text/plain; charset="utf-8" On Thu, Feb 19, 2026 at 01:20:10PM +0100, Andreas Hindborg wrote: > The documentation for `fetch_add` does not indicate that the original value > is returned by `fetch_add`. Update the documentation so this is clear. > > Signed-off-by: Andreas Hindborg Reviewed-by: Alice Ryhl