From mboxrd@z Thu Jan 1 00:00:00 1970 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: stable@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.