From nobody Sun Feb 8 11:06:58 2026 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 257A8353EFC for ; Fri, 23 Jan 2026 06:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769148192; cv=none; b=U0mgaOx1arg8sWzlgk2f8doRsLyuv/oSCUGijpwBMYz3U/Ll0KalcQtc3NYaryF+3HCQeQJJ8b5EqkBMAEpKdMhQmn7RnNw1BYgUFM+i0XsLdTi1AQETNd+nWPcDplyPRh5ByDbAEFnKJNZOWc34aPbZgLvNb0hSojbDMNbPiKE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769148192; c=relaxed/simple; bh=kTuXYE6pH2GSp5Qi24sWUYq7csAucJp4NHpwhhIeyyU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T8qXBCh+rl6gD81IcLzYyUkPAZIF5o9CrvogzjuIhK26eIr3sZ5df/EbVZGVOw2JW/nCr558Kd0riTuqO9KAGQdJZa0i2sAvA1sAAI0tPfcs8mDAcwHTQPfvrhF7tmok6VsE5FVRuUdoqKJHrN3+B8gAB3DMeye9hxuEDkUFxSg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Z6C1AbzH; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Z6C1AbzH" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=42Tg1nrkdt8Ojbr5poq8dX+guthcUCDda+8hVkPoImc=; b=Z6C1AbzHTZYQu7QCdpEEl8g/di hbVbrgkCnCbDAd88z4bE29arnhvPtzHp+Z6jcieehnHjUVofn1OAMy6O9ATW7m4Pzlu70o5xvKWlX +g44vhrhojcsOJ48HJDbKiZzuWIZGJczp2Nj62iUx6hXiVfr+KjR4F/t8yPEwQM8O5zRDfaQFTd3Z xjzsEolE3dhyKqALOdz80oUUJsh4Z1QSKvXjdSkBxTsXXAk2qJ9+0fmjCAPAJXRVtv73AVeph1K2R LQ7le8+5TwWZ3UDNXpuFf2Z7Aa2ca/fBvebuHFKJbYUwViyMvq08/MUTs+bZYAbzFs/awLL9Qx3T9 nM+b9cHQ==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vjAFz-00000008GLw-2u4c; Fri, 23 Jan 2026 06:02:55 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Peter Zijlstra , Ingo Molnar , Will Deacon Subject: [PATCH] seqlock: fix scoped_seqlock_read kernel-doc Date: Thu, 22 Jan 2026 22:02:55 -0800 Message-ID: <20260123060255.3814697-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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. WARNING: include/linux/seqlock.h:1341 This comment starts with '/**', but i= sn't a kernel-doc comment. * scoped_seqlock_read (lock, ss_state) - execute the read side critical Warning: include/linux/seqlock.h:1357 function parameter '_seqlock' not des= cribed in 'scoped_seqlock_read' Warning: include/linux/seqlock.h:1357 function parameter '_target' not desc= ribed in 'scoped_seqlock_read' Fixes: cc39f3872c08 ("seqlock: Introduce scoped_seqlock_read()") Signed-off-by: Randy Dunlap --- Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon include/linux/seqlock.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) --- linux-next-20260121.orig/include/linux/seqlock.h +++ linux-next-20260121/include/linux/seqlock.h @@ -1339,13 +1339,12 @@ static __always_inline void __scoped_seq __scoped_seqlock_next(&_s, _seqlock, _target)) =20 /** - * scoped_seqlock_read (lock, ss_state) - execute the read side critical - * section without manual sequence - * counter handling or calls to oth= er - * 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_lockle= ss} + * indicating the type of critical read section * * Example: *