Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp177552lqo; Thu, 16 May 2024 03:03:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXw8ad6Auiiiq+ODKYiqPqD5tw6v+3omtrqK1dkViEkdwpMTIr2jatUZKjj+br9dsTSvHzc2t84YMbC1PfACZ+/f+dkBj4P0p8Kc/RiGg== X-Google-Smtp-Source: AGHT+IEu4Lg/LFcyXeM36wfVtzN+4r45OLLJNQu2RwBt5Jectv/U+duw8yMp1UXzKkqKIkhwS7sG X-Received: by 2002:a2e:984b:0:b0:2e0:3ad2:b371 with SMTP id 38308e7fff4ca-2e51fe5875dmr145300631fa.25.1715853798288; Thu, 16 May 2024 03:03:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715853798; cv=pass; d=google.com; s=arc-20160816; b=ilz35XOv+6dj9XXEaT6PNZbnm2+M5Q0nus8YBiJE4Llc8Cd3JXh7e265JXJ7fqVO9M pIO7SBN8W9BLauFDaV0sEallarwPH2HTdeM6EgTNkcSCIVlGwT+MH4GtbsHc5oO+WVnj aD8sVxe76D7zQzq5bzv8qxuD1q5LrDQWtu4fxZ/go/F64rcZWGv6vsyNZizq4V+cCkTc c6jKtU7iWkQAztWhUTB4Kfi8vWaYd2QrOvC0Xp8BXu6yiUnBRqDXu/hqiGQ8gFUQpmnd IlFvdi6/3mu8aoxYwGTSzVbZz4h/YFW/Dv5KzF5BSaV1g78WhK15Vu48a3+7GXTkkAsY RNLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=vApXxhJL+sK03NOohHOp8tDs7sQeg+s8Z0lX8mykYmE=; fh=NztRZjorEUqtKMP2db7JiztBmQzLg5499+i56TYBWUc=; b=tUQhX5u/IHvBn4mdIGKuxhV72Zd7VfpfXUVEIO9zEaLDxa7qKc5nkQ9BylnwvSHr85 8m/PppDrIoZC+f64FiZ2GlH2stlobY1hybN06p3SrJxQuhiT/acpf7SV9Cmg5mN2iIRg CgajYkCs+1pZhNLFTWc4rfHSy2QSELUlH1ZZkCZIlgY/tK4wC1hN6A94Tj3Yr5i79Koe gkT+s7MDpEgLJ36H7CsQqbE/OsjIdqv2I+yBtC/7+kTHNPWoMRtMEBmL9qKGAdKo+NMZ shY9GJO9IaOG0rkuXdherM7KJRdBOAUVqJuDRFyMRrpl2mj5DSVYKuM8XzwFIxFQY0x4 JF8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-180882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17b21a5esi822132966b.404.2024.05.16.03.03.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 03:03:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-180882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D137F1F237BC for ; Thu, 16 May 2024 10:03:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2084D143C56; Thu, 16 May 2024 10:03:00 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00CC7143899; Thu, 16 May 2024 10:02:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715853779; cv=none; b=d+FzjIuIqbQXoXQqO2cnnZ3XTquUMzrKqTy+fpPDeZVKIRphnMcLz1h3xe2hJdvfzad8YETsTaLlOrhqfevQ2gkA8TcUhrQxgSgu+z3xWkytQsKS5DHiWY/WGpz7gwkQWZtvqAJNsHadwOGwdrGIJYzLaF3Ar5Ld4aErUG/gVKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715853779; c=relaxed/simple; bh=4iU7fsCDbTgfTvlAlpiuArNe+aWS8SDmjPDXgljdep0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DftsFRjQJi6zzVMxk9XKETUXZiUeACoY9wpCW97/6zl8SLOBaCGttVAlixyN9i6wqkA8rLPqCYx5/8mU7gpOjtr7iR0TyUIqiEpnPnzL8F49KKFmo/y7Y+axxyd3n8gqsdz+7ZiLT6rPoI6v6ZGGCLpTghm/RpJULVy3u23ua6E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6763213D5; Thu, 16 May 2024 03:03:20 -0700 (PDT) Received: from J2N7QTR9R3 (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CAEC93F762; Thu, 16 May 2024 03:02:53 -0700 (PDT) Date: Thu, 16 May 2024 12:02:50 +0200 From: Mark Rutland To: Peter Zijlstra Cc: Carlos Llamas , Ingo Molnar , Will Deacon , Boqun Feng , Kees Cook , "Paul E. McKenney" , Uros Bizjak , Nhat Pham , linux-kernel@vger.kernel.org, kernel-team@android.com, stable@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman Subject: Re: [PATCH v2] locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc Message-ID: References: <20240515133844.3502360-1-cmllamas@google.com> <20240516085310.GC24704@noisy.programming.kicks-ass.net> <20240516094920.GP12673@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240516094920.GP12673@noisy.programming.kicks-ass.net> On Thu, May 16, 2024 at 11:49:20AM +0200, Peter Zijlstra wrote: > On Thu, May 16, 2024 at 10:53:10AM +0200, Peter Zijlstra wrote: > > On Thu, May 16, 2024 at 10:45:58AM +0200, Mark Rutland wrote: > > > On Wed, May 15, 2024 at 01:37:10PM +0000, Carlos Llamas wrote: > > > > For ${atomic}_sub_and_test() the @i parameter is the value to subtract, > > > > not add. Fix the typo in the kerneldoc template and generate the headers > > > > with this update. > > > > > > > > Fixes: ad8110706f38 ("locking/atomic: scripts: generate kerneldoc comments") > > > > Cc: Mark Rutland > > > > Cc: stable@vger.kernel.org > > > > Suggested-by: Mark Rutland > > > > Reviewed-by: Kees Cook > > > > Signed-off-by: Carlos Llamas > > > > --- > > > > > > > > Notes: > > > > v2: fix kerneldoc template instead, as pointed out by Mark > > > > > > Thanks for this! > > > > > > Acked-by: Mark Rutland > > > > > > Peter, Ingo, are you happy to queue this up in the tip tree? > > > > Yep can do. I'll sit on it until after the merge window though. > > Also, do we really want this in stable? It's just a silly doc change. I think that we do, so that when people look at the generated docs for stable kernels they see the right thing. It *should* be a trivial backport, anyhow. Mark.