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 290A346EF8F; Tue, 21 Jul 2026 18:47:49 +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=1784659673; cv=none; b=MHifjuyGW1ldrC2GHQTtWgGUuuLakoNggF3w0kP3d3awN50kJjUaWjvVm86qyTJ41f5oPlR3UDqeR14pKiB9HLc4bCzNdkU3GLGycOFSiuAoZyRp8PWBLGuocz0hmIRIxSmeKmrkg1ILmmfLSY2BYcO//A0Ihevn46PSwvj+7xw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784659673; c=relaxed/simple; bh=bzSs9NO1begUkqinXahfj3vVzVpiUGerK60oQyG6mko=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JaKx2GgZP8/AfbdLOq2FtHysWe0NHdVs8R6T5060drUJvj2kg8Wdr8cUvAoc/lm34EoXbqNgy5GU3JjUI+d0N/1M3khZSKfkAs+83bXwVY1pVf3OqwrNGp7w9uyFNe+t9LSTBnA12em4C9xdqW+8MGsjnV1ymRsy0NVgPQAFYEo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mrHj6uyO; 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="mrHj6uyO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 062DB1F00A3A; Tue, 21 Jul 2026 18:47:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784659669; bh=o96hly1qGievbjcgZpgJ4qAwq9SjdtuIdmE9hZ7mhcc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=mrHj6uyOSv/FwDv7Zk96akz6O0y1kCQWNzjvitf05FYWwgO3zWq++Mem8IR/DLYqg 4wRtf4tASrgn4IAP/GkSZlstoYocCtflOnm9pMf007P0EuUhCq5t0CG2fXpdmz2BHK Fl066GcPM36GtE5PtdsDTxiYf47ZTtCrhkqk1CHs= 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.18 1607/1611] seqlock: fix scoped_seqlock_read kernel-doc Date: Tue, 21 Jul 2026 17:28:43 +0200 Message-ID: <20260721152551.621638109@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152514.750365251@linuxfoundation.org> References: <20260721152514.750365251@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.18-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 @@ -1300,15 +1300,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