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 576A644AB62; Tue, 21 Jul 2026 21:52:21 +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=1784670742; cv=none; b=dEgBH0st/X1+ce+SUSnVFseTOTfKYf+U2uOklX4KqeI7uJrQ9gDu5TSBSaFu1tuqM/7R/bdCZ5IdmNcMKZoFm4fPQHtjpFQfqO3wKAwc/5BJBfWP9YeNge94o0rObYBGkWrKEHKRorG3XdWcKz9pLOghmC54JFABejPxVkXMDv4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784670742; c=relaxed/simple; bh=6YHybxM6jH1BcHgFOh8MqYuBzGyjL4iXKJpT4KO2cDE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XlSR7pwArQarRvIAR19hDS49iCXVPjc5E7WoPJxoPbkEMIQsNqikHVKvLEiGrsObPM54+AfbircLYJsyjMKUz4Ha23OcxsV2RHp86HO2+NoBmQMiSzOPxEmgJYEkuWHEPhQBDRn/S9NnuWJHZHPwHRcAnJckrPrjQ31PiiFsTDY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M5jqnUL2; 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="M5jqnUL2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B88221F000E9; Tue, 21 Jul 2026 21:52:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784670741; bh=OpOWLEorYJggsqvxjxmvKJwtET0q9+g6MwyHDfS9L+A=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=M5jqnUL2EUYTunL1hEwkBxIF9vxg70OgqS0DCJrSEOmdOwI7StBWTcQ73Xp93QBmM z3GrXZ0tdeITwXltgcRhW30SOmKg1kk6DiJY4L7MSZE3tLZnbqHibqFgYF6KgiWnWZ 102b3EeVwfqHSB4gGol7W/G9/voS5AQ206sGhiqU= 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.1 1047/1067] seqlock: fix scoped_seqlock_read kernel-doc Date: Tue, 21 Jul 2026 17:27:28 +0200 Message-ID: <20260721152448.013213065@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152424.521567757@linuxfoundation.org> References: <20260721152424.521567757@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.1-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