[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DDS2XJZB0ECJ.N4LNABSIJHAJ@mailbox.org>
Date: Sun, 26 Oct 2025 08:36:00 +0100
From: "Andreas Radke" <andreas.radke@...lbox.org>
To: "Salvatore Bonaccorso" <carnil@...ian.org>, "stable"
<stable@...r.kernel.org>
Cc: "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>, "Sasha Levin"
<sashal@...nel.org>, "Zhixu Liu" <zhixu.liu@...il.com>, "Jonathan Corbet"
<corbet@....net>, <linux-doc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: Please backport commit 00d95fcc4dee ("docs: kdoc: handle the
obsolescensce of docutils.ErrorString()") to v6.17.y
For kernel 6.12 there's just one more place required to add the fix:
--- a/Documentation/sphinx/kernel_abi.py 2025-10-23 16:20:48.000000000 +0200
+++ b/Documentation/sphinx/kernel_abi.py.new 2025-10-26 08:08:33.168985951 +0100
@@ -42,9 +42,11 @@
from docutils import nodes, statemachine
from docutils.statemachine import ViewList
from docutils.parsers.rst import directives, Directive
-from docutils.utils.error_reporting import ErrorString
from sphinx.util.docutils import switch_source_input
+def ErrorString(exc): # Shamelessly stolen from docutils
+ return f'{exc.__class__.__name}: {exc}'
+
__version__ = '1.0'
def setup(app):
Download attachment "94657AB20F2A092B.asc" of type "application/pgp-keys" (10414 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists