From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 A1B7942D746 for ; Tue, 11 Aug 2026 16:46:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786466773; cv=none; b=s9mPRl42Oy1Lu0WKuVixAn1f/cLQcB9pAWyaG2VPq1K17+fdUW1KwKjvlc3tPS7fI90BGG+TWZl7gAZXSeuC2i638x2Fyxdt/po6iTltsKDZW02sl1Py40znpxOyXltFyhz39pXZ2EKtquxZJOOcPeqM213+NI7+OGTYLEtM8jU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786466773; c=relaxed/simple; bh=/LdLiSurf6ONvzOlUGOpq5aT6G2XR8huu05E6JH65zg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=uP+EhM6vundp52PhgnfKWJZkSBZG5BVuJqLxcqvx+B380+rrUXJb3yg0l4YMFeB40BY58qYvOCVU0wMkxpyfOqKlja9VUZbGLgpVOAd+Hr+bEW0YbD+SfDQ5xchhc4c9X9jMwYdNHSYjSQIU4juzYFzq+0ltN36r5dSK9gT/EnE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=gLqNyjqk; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="gLqNyjqk" DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 4C642408B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1786466767; bh=I8Qvgk3S4mbpow1vOpCTFNvetZnmfgnxQELI25Y0IJQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gLqNyjqkGFg7bjsMR0g7NPMemb4HQaM1tQAf6YuAy4u6sSnHoOMVR9iTR5Pp1Jrv0 wcyu0L4NcshqyIcddi8SoXY6LBy4hqAI4KdejkyM39X/GbZl/MTiU1GHceBIzXo90H iGqk20cHKTp8efic8qPa6W4wX6QrJAUYVdyNk63h4/U/cpTxK1/xtt+6XDJK2j2rFF AMhYEWHcegc9zHP8zrVPecM2dVNl3Pys58FnSwuPuZDy6h3OYNA4reGHdeq44XNHVx 3qmjlDNQGZ4pj3SPa2d17ipkr2kgi7Gb4ocUrFMWDgf2zAlyHPgY182LpRKJ138Uif fPSBTG/OH3cLQ== Received: from localhost (unknown [IPv6:2601:280:4600:27b::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 4C642408B2; Tue, 11 Aug 2026 16:46:07 +0000 (UTC) From: Jonathan Corbet To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: Randy Dunlap , Shuah Khan , Mauro Carvalho Chehab Subject: Re: [PATCH] docs: conf.py: fix the 'utf-8' typo In-Reply-To: <20260806051115.1235789-1-rdunlap@infradead.org> References: <20260806051115.1235789-1-rdunlap@infradead.org> Date: Tue, 11 Aug 2026 10:46:06 -0600 Message-ID: <87cxvoli5t.fsf@trenco.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Randy Dunlap writes: > "encoding" should be 'utf-8'. Fix the typo. > > Fixes: 7ea9a550f710 ("docs: conf.py: several coding style fixes") > Signed-off-by: Randy Dunlap > --- > Cc: Jonathan Corbet > Cc: Shuah Khan > Cc: Mauro Carvalho Chehab > > Documentation/conf.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-next-20260805.orig/Documentation/conf.py > +++ linux-next-20260805/Documentation/conf.py > @@ -287,7 +287,7 @@ author = "The kernel development communi > try: > makefile_version = None > makefile_patchlevel = None > - with open("../Makefile", encoding="utf=8") as fp: > + with open("../Makefile", encoding="utf-8") as fp: > for line in fp: So this is somewhat weird... open() will throw an exception with an unknown encoding, but takes "utf=8" without complaint. Somehow they are explicitly handling that case. So the code is arguably correct :) That said, I've applied the patch, thanks. jon