From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 87C4F1F4C8C for ; Mon, 5 Jan 2026 13:16:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767618974; cv=none; b=Qa9W1vQguvZjh01d1AJ/w7qvGQna/eE5ux3N0UehJVqt1wx9KjK8vyyeEjtHt6ugdzlSS8GgPu5dORhGC5aMLY+uuVBsJZ1KZSYI8ID02PPiI6a69nvITlz0P6zGWmYsMH1+wkbChjav7CHlvdxdqNEHAZVCxJLBneASq8L8dcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767618974; c=relaxed/simple; bh=7QAglZ3KDlvna4qswHFTuwl4ILSJQgP19q2+av95M+I=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JKRB7Wa1MnrZKBwFN55rppdLB/4+lkYIAf2NQhg4NUtqCd5wS7rNx11kD0w70ajwNUPQc8gGO+bT1IO0gCam6eqQO0n1Oc/o8OQIFTCYw7NpB7w4H8fOKzayyLfixgyacXE91pqHqhR9jIsk+uPLWfMqZiZh28mXW3pKcu+d8nY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=2X6+nrAH; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="2X6+nrAH" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id BB67EC1E486; Mon, 5 Jan 2026 13:15:43 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 960F960726; Mon, 5 Jan 2026 13:16:09 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 828A3103C8510; Mon, 5 Jan 2026 14:16:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1767618969; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=B7HaDmJNQf2b16PRKkxZlSaAENNURhouYlWmrc0Bf3A=; b=2X6+nrAHTyKDn2nXHyqihj4T/3Z97+jAnIpsonLE1Wk+4EG4ilZlSlDNiYNCb/88siYvTV kB6Owutf0WVCV33zh1dumqmf5NdTBPCtjTBRoDwEPN2Cl2YDzMkjvcFObkKTEaFKZD1IQ7 CkjFxN6fhMVX+BK0tHD0QJVXceEw7KrXjYGaeUg5FTzi2PRlt39DwPIjNLxjJxgMrhziCf Ijju4d/dWe+UFoxz8LPvVGf7VzdjP5iIVlHxgW9oMA530qtALBXnEy9YiEkozEqxNDpEdj aA4XpkwQQgIfXBHxJKZHV8tUONbIKMIzLfpAmf3wfsZbca7Jqmgp7bR4wHmjZg== Date: Mon, 5 Jan 2026 14:16:06 +0100 From: Kory Maincent To: linux-kernel@vger.kernel.org Cc: =?UTF-8?B?SsOpcsOpbWll?= Dautheribes , Louis Chauvet , thomas.petazzoni@bootlin.com, Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn Subject: Re: [PATCH] checkpatch: Add support for long UTF-8 name Message-ID: <20260105141606.688aa8f7@kmaincent-XPS-13-7390> In-Reply-To: <20251128102623.645512-1-kory.maincent@bootlin.com> References: <20251128102623.645512-1-kory.maincent@bootlin.com> Organization: bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 On Fri, 28 Nov 2025 11:26:22 +0100 Kory Maincent wrote: > In case we have a long utf-8 name the second line will contain UTF-8 > code. >=20 > Here is an example: > From: =3D?UTF-8?q?K=3DC3=3DB6ry=3D20Maincent=3D20=3D28bla=3D20blou=3D20= prout=3D20test=3D20?=3D > =3D?UTF-8?q?=3D29?=3D > Date: Fri, 28 Nov 2025 10:57:00 +0100 > Subject: [PATCH] checkpatch: Add support for long UTF-8 name >=20 > On this rare case checkpatch is returning an error due to UTF-8 code in > the name as it only decodes the From once the line is fully concatenated. > WARNING: From:/Signed-off-by: email name mismatch: 'From: "K=C3=B6ry Ma= incent > (bla blou prout test test=3D?UTF-8?q?=3D29?=3D" ' > !=3D 'Signed-off-by: K=C3=B6ry Maincent (bla blou prout test test) > ' >=20 > Decode each line instead to be sure we don't have UTF-8 code in the > email name check. Hello, Any news on this? I know it fixes a rare case but still, the issue is prese= nt. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com