From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7627AE573 for ; Sun, 26 Oct 2025 12:57:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761483448; cv=none; b=PIwxNZyfAlXWldjR4qzYBLfDQpKL5B0VMV2EY0lWExhDwuDtF+RJRcgwBnGjAjI6MvJK+91ur3qbwJfit58UsroV6+2KVknn9S+grcE43GakJI9Fzf8q0W4LvaCKLdDRmN9fGdKIvOkgPNz4aWGzoJvz1tS1RfkEiV45Ukpj9uY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761483448; c=relaxed/simple; bh=rCGw4ZbsZQCpqBLJPg/c9+/fXOA/cXyXFOwoHEEcBhQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j6ai0lAvWdgVP6tRoTbJftzaaLaf125Cbl3C992eOhFdcucYJZB2uKMWIAzemq924J+kBbH3ycaBWvvxxec72MkYuDWMUzzbp6wUBZOS3zM/5Dfc7hNcLYc+6lNWh7Pbx49OejrAGkGTOcd8qGTY1ZuqQKcla/S+gtZaIXxLwPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Mi1KbTTq; arc=none smtp.client-ip=209.85.218.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Mi1KbTTq" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-b6d78062424so598257466b.1 for ; Sun, 26 Oct 2025 05:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761483445; x=1762088245; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=ETXrEZX5fQ8Oi3Y5mw2OqmhS1VtxyB2GFpSLLiFAkrE=; b=Mi1KbTTqziQFPAvBKPvSJMexoWUA3AYoYm2lymk5rhdVysogyp/NVZsGt+I3tYluho xC6NZzKRpdYi14wvMh5zPKaRKve6kRBeQMUJTmAyzHwhBbDchw1dw7uv38gPEFP8kMlP t+Ga+0v99K4Po/WlAP2fSEhk2F2UjzHQBEDp+3exA1qdeE6tPOo/RjwRoKKk76DpT5pz 0NgKHDru0M1OXS5Uc+XXzjxyYbIt0lGNh6K4nG70XcZD87BUX2EA60H9LYonHWwTYAE1 lgzx7mZyPFzo1MFxpPmrMiK1ui3plDQptMIAUZIfGBMgelN2iC+njNopN7HXKXupaES+ nJhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761483445; x=1762088245; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ETXrEZX5fQ8Oi3Y5mw2OqmhS1VtxyB2GFpSLLiFAkrE=; b=tCJaSsT2m6oimjC7ZHz3k0vOCS6y+zEIaX1JsN5eKA9ee1RR8Y1C5WJMMIn7thGvfa 0JbJmTiqQqE1jJgnUGnndXEjYuskpxP2zZsohf7ZPFg+EVrO3zHuBJeCLW4EkGQoxPTT 3dVRJ7p5Y7DyX0UdG7tWEdGz9OAKW96f28ILsePAPev0xmrwdwJWRMRxtP5+OzMfxZCN TuDj7hb8z3amxGXDRiaVm5klee7DIZKRM/DT/tfHYh1LqOkYZqKU7MLco5EhUX9o6BQl cPbz4j/NfV9NnLE4NvsEoo5ZKg4QdF6LGeIKWAJj/ce8VyVs0xYf04JwBHZqObGr1akk UBXw== X-Gm-Message-State: AOJu0Yxf7Q1VoBeY5MYoY9/i3Ys9c4t1i1fK76LHeuS1x9VkWc73yv0J aqpPobCT0bzX1ORes9p7r89voQRgAyPrtXt5YQ00lDbfaUFOejQ/M0k4 X-Gm-Gg: ASbGnctle54sxtyjQL2lFyyJiQNuz9gl91vlyDNGKJIsvo2vvI+MqXNk0Sc1uCCg3JN HYH0uVQfrfwDa+z6GP8ay/1U2fdQPdkMZifejDX77StAsSyl/VzIkPu5qNVBL0LhsxeHJI0HjYh 2QQGaBJiQhxGTHvI30YvA6Bcn4VALJNDmGNGPOwhSe0/MQ4M0y/oE/EppurRqvBtE+LqKGdrNKi 830kzYbpaBNIPDa/oS0y37cYLsSI+IgEIN+LQp4kXoD4cKJnFZeh+4HPoaAjSOPTddRSItlyS/C 8ZBddDK3fiymDBCg6NNcfFu33DGHew+yWeAwFpmwG/yGcOTF5vNHU0X8l9cuKNaIms3zAyhtWwA 282s7GFVt6J/oc5GNUeAHAJChWU4fqCIta6PsoLd4gfwIB7Bw3ptJS54dCfell8uybo819pahnO XByY6NxJLG6DSoHruDZOJsDTsQCTak3FdIpI1StH+jTwYz X-Google-Smtp-Source: AGHT+IGVz/VPRAxaoxwbFjYCLhD1ar+3bJt34o/sZ1Velhqhsmkm8EcDtkmYcSESmb5WVANXKCHAUQ== X-Received: by 2002:a17:907:3d87:b0:b3f:b7ca:26c5 with SMTP id a640c23a62f3a-b647570a3d9mr3880397366b.59.1761483444461; Sun, 26 Oct 2025 05:57:24 -0700 (PDT) Received: from eldamar.lan (c-82-192-244-13.customer.ggaweb.ch. [82.192.244.13]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b6d8541fb2esm453815766b.59.2025.10.26.05.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Oct 2025 05:57:22 -0700 (PDT) Sender: Salvatore Bonaccorso Received: by eldamar.lan (Postfix, from userid 1000) id 51C38BE2EE7; Sun, 26 Oct 2025 13:56:58 +0100 (CET) Date: Sun, 26 Oct 2025 13:56:58 +0100 From: Salvatore Bonaccorso To: Andreas Radke Cc: stable , Greg Kroah-Hartman , Sasha Levin , Zhixu Liu , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Please backport commit 00d95fcc4dee ("docs: kdoc: handle the obsolescensce of docutils.ErrorString()") to v6.17.y Message-ID: References: Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi, On Sun, Oct 26, 2025 at 08:36:00AM +0100, Andreas Radke wrote: > 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): Yes this is why I asked Jonathan, how to handle backports to older series, if it is wanted to pick specifically as well faccc0ec64e1 ("docs: sphinx/kernel_abi: adjust coding style") or a partial backport of it, or do a 6.12.y backport of 00d95fcc4dee with additional changes (like you pointed out). I'm just not sure what is preferred here. Regards, Salvatore