Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C56FE43D51D; Tue, 21 Jul 2026 21:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667941; cv=none; b=oaqof775iP5AFlVmPqeqLm14Te+HTlf4y9ydROHEQ2UJuRn0fXcvo/KpazQUokIZKCQvwli3rQVrGPxw6RD5Qxc9PaITunDEAOpVhOz6QjxVrd4l9fJlaDlEqAeP3eP9jB/7ModrxYOpJ61bbMTwFvzOjrVCvqHe87Cr9afWpaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784667941; c=relaxed/simple; bh=gEtAB1kEiyMBnxL3QRcB5b+uVSJnDQ8AuKA6NWZ8HPc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=li/qPu+LzdHHIblxlIOzroxHDPaSRFqdixV7omDxfTar2TW4q8Lolvm17+kFBHHY1lxUZDbwndk8mYY5eRHYSHKeyg8QysPJy4K//3lQ/kpeHnlWtUrXSeWjcmxAKVH/1MJU5yoCC1CIdbzJrcZiap5WHR1O5ph07X+nCjEV2gA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yIfHtOOy; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yIfHtOOy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 374D51F000E9; Tue, 21 Jul 2026 21:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784667940; bh=gTNdRWjxc8KHOMfkSixAEYOBriCaE5XGNOUgGlhFnok=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=yIfHtOOyojMAm9DfTL1jhOIBDgefHpiMiTKcI8fXW2x0lv5sBqQDHGemkfUWLU1IW +W/4HhJBsOryMErzWX+rtjzObTiFUCBUYso/EM44+Ixui+4dCEEfruthpy16pTqYk4 eaJDEIkAvY4FKTIi+9bTeICWk8+AfeKalAIqVIwU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Randy Dunlap , "Peter Zijlstra (Intel)" Subject: [PATCH 6.6 1252/1266] seqlock: fix scoped_seqlock_read kernel-doc Date: Tue, 21 Jul 2026 17:28:09 +0200 Message-ID: <20260721152509.841321941@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152441.786066624@linuxfoundation.org> References: <20260721152441.786066624@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap commit f88a31308db6a856229150039b0f56d59696ed31 upstream. Eliminate all kernel-doc warnings in seqlock.h: - correct the macro to have "()" immediately following the macro name - don't include the macro parameters in the short description (first line) - make the parameter names in the comments match the actual macro parameter names. - use "::" for the Example WARNING: include/linux/seqlock.h:1341 This comment starts with '/**', but isn't a kernel-doc comment. * scoped_seqlock_read (lock, ss_state) - execute the read side critical Documentation/locking/seqlock:242: include/linux/seqlock.h:1351: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils] Warning: include/linux/seqlock.h:1357 function parameter '_seqlock' not described in 'scoped_seqlock_read' Warning: include/linux/seqlock.h:1357 function parameter '_target' not described in 'scoped_seqlock_read' Fixes: cc39f3872c08 ("seqlock: Introduce scoped_seqlock_read()") Signed-off-by: Randy Dunlap Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260123183749.3997533-1-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman --- include/linux/seqlock.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) --- a/include/linux/seqlock.h +++ b/include/linux/seqlock.h @@ -1357,15 +1357,14 @@ __scoped_seqlock_next(struct ss_tmp *sst __scoped_seqlock_next(&_s, _seqlock, _target)) /** - * scoped_seqlock_read (lock, ss_state) - execute the read side critical - * section without manual sequence - * counter handling or calls to other - * helpers - * @lock: pointer to seqlock_t protecting the data - * @ss_state: one of {ss_lock, ss_lock_irqsave, ss_lockless} indicating - * the type of critical read section + * scoped_seqlock_read() - execute the read-side critical section + * without manual sequence counter handling + * or calls to other helpers + * @_seqlock: pointer to seqlock_t protecting the data + * @_target: an enum ss_state: one of {ss_lock, ss_lock_irqsave, ss_lockless} + * indicating the type of critical read section * - * Example: + * Example:: * * scoped_seqlock_read (&lock, ss_lock) { * // read-side critical section