From patchwork Fri May 1 10:59:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2250 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1777633279; bh=SgW2/2QxZ8ufnYFCSQtKhZAR4qCms/QYxQhY+TGm7rI=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=A0gIq4PoNSlXRfebcNtiOoz205hcGR/79UeQrWITkM9VprxNz5XnCcIwIyf3vnG1T 9U5GzqCCzeKpXnZv5ALew0bFRIK8U/u4WbvgHwj4TeGqLGyzRXCQNdmGIM9ZRA8D4S kZvd+k1/d9kQrisOcYlgURJ//68AsCeKjKCvTIYw= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 38A176A834 for ; Fri, 1 May 2026 05:01:19 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id gRqyHtRL0JAl for ; Fri, 1 May 2026 05:01:19 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1777633279; bh=SgW2/2QxZ8ufnYFCSQtKhZAR4qCms/QYxQhY+TGm7rI=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=A0gIq4PoNSlXRfebcNtiOoz205hcGR/79UeQrWITkM9VprxNz5XnCcIwIyf3vnG1T 9U5GzqCCzeKpXnZv5ALew0bFRIK8U/u4WbvgHwj4TeGqLGyzRXCQNdmGIM9ZRA8D4S kZvd+k1/d9kQrisOcYlgURJ//68AsCeKjKCvTIYw= Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 28C9D6A833 for ; Fri, 1 May 2026 05:01:19 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1777633277; bh=xWfjcDmD6MXsH0+ja7iuIjQcJVv6/pckitsAHSRoPOU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YkZpSqCXU58kr4mMRgLFBpqFegHhEq7AInutY40xb5s44+IqhrKY/qinHwM1hoo7s rm3UNiWqUL7ACNZLT1jSWN6Du+SynfwjFYMpdITwf5Z6NuyZxB7lF8XWEqfu3bz/8c c3xqwS1Wwe0IygJps1L14mtnmGrchF6cq/OvjSCk= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0B5076A78B; Fri, 1 May 2026 05:01:17 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 6vpP24VtoJar; Fri, 1 May 2026 05:01:16 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1777633272; bh=J2lqJ1nea3ZRx6TP8b6uYVwojN+aUhFfzFvLilhjTiw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b5Lw3rNYa2+D7j/bcAnw6udfHSIDe8aqwTOWEpullwQEm2nhSoAtiZghyWyT//J/Z D8C4Z/nFqXibBUtkGpFQZoPjdDD2acoDi6GUXgvHsPF6RcM/atmjR0Zf+yMriqYjtk jHWKhDxRLUl7owNfXAxL3U69yxCJ/56XLz3CeGt0= Received: from u-boot.org (unknown [174.51.25.52]) by mail.u-boot.org (Postfix) with ESMTPSA id 65CC76A7AF; Fri, 1 May 2026 05:01:12 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Fri, 1 May 2026 04:59:59 -0600 Message-ID: <20260501110040.1874719-8-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260501110040.1874719-1-sjg@u-boot.org> References: <20260501110040.1874719-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: EMX6EJSQWZLDOB6IK52FT6L3FXJHYW5A X-Message-ID-Hash: EMX6EJSQWZLDOB6IK52FT6L3FXJHYW5A X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 07/29] patman: Handle email-mismatch warning from checkpatch List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The checkpatch "From:/Signed-off-by: email address mismatch" warning has no file or line information, but is not in the list of known no-file messages. This causes a "failed to find file / line information" error during parsing. Add 'email address mismatch' to the no-file pattern list so patman reports it cleanly as a patch-level warning. Signed-off-by: Simon Glass --- tools/patman/checkpatch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py index 6f99a36a08d..b6ddaad0924 100644 --- a/tools/patman/checkpatch.py +++ b/tools/patman/checkpatch.py @@ -94,6 +94,7 @@ def check_patch_parse_one_message(message): no_file_match = any(s in message for s in [ '\nSubject:', 'Missing Signed-off-by:', 'does MAINTAINERS need updating', + 'email address mismatch', 'should have a', ])