| Message ID | 20260214032632.3957279-2-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> 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=1771039609; bh=v4viCDfikxpZNVxRx2NXsdD5FCDb87aazKKHusVCgqk=; 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=A2LPgVidQCPIo5z0e1zyyJdWIDY80qPJZfTDEblv4kvUVUtdrwI5kD5gRzFfUWsGS oouLwnJiWINNo+9tpc+Zb1jnKDFqPA12qY/NCZg04MuKl2C1QjLjmGcxxPPY87uXFf AMO/1HY93/APdM4y0cpzhcfelsI5u6t7sUfudF6j8OyKDZKM5oR4GHj/pwqf5ezba2 OyJwZ6dpPLjJk1iJTLGOiBcDxQQ8BDwYvLh4qnDxBBu+/0Ybu6QG5UbrH91Dm5X+Cy qu8cpeA+SPfDZuVNR1nlYEf0+Wto82QPtP6CUsWxeEjVASfZ24XUxvdA1USqfkiqGB g6pwenpHU62RQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 28B5569B70 for <u-boot-concept@u-boot.org>; Fri, 13 Feb 2026 20:26:49 -0700 (MST) 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 N8SYjxxIt8Zq for <u-boot-concept@u-boot.org>; Fri, 13 Feb 2026 20:26:49 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771039609; bh=v4viCDfikxpZNVxRx2NXsdD5FCDb87aazKKHusVCgqk=; 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=A2LPgVidQCPIo5z0e1zyyJdWIDY80qPJZfTDEblv4kvUVUtdrwI5kD5gRzFfUWsGS oouLwnJiWINNo+9tpc+Zb1jnKDFqPA12qY/NCZg04MuKl2C1QjLjmGcxxPPY87uXFf AMO/1HY93/APdM4y0cpzhcfelsI5u6t7sUfudF6j8OyKDZKM5oR4GHj/pwqf5ezba2 OyJwZ6dpPLjJk1iJTLGOiBcDxQQ8BDwYvLh4qnDxBBu+/0Ybu6QG5UbrH91Dm5X+Cy qu8cpeA+SPfDZuVNR1nlYEf0+Wto82QPtP6CUsWxeEjVASfZ24XUxvdA1USqfkiqGB g6pwenpHU62RQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 17CDF69B58 for <u-boot-concept@u-boot.org>; Fri, 13 Feb 2026 20:26:49 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771039607; bh=zw27u6MJOXjmS99kycHE9JCbAmGQLvNTU1HUGzLuviI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VtZOamZFKkJo1cI1DeYFPdX5tCT9eLJu6dgJSvxk/+zv4LdY211IR14rzbnkF7igk TGGmCmt9S2szkK5ax8fJCsWwv4g+iS1t+GDYzPHjVozUDsoE4BJd/q2ggTPQvEk5pk 80nDVhfF66WKynBet4B52wuD65RxaOAyD5r880mZSa3RbfwNApBOuddh0hC8p9nWz0 /ldOCORySJpXqbM416CkNZ5uZJYdkrLiF0lz9yOXxbF6BpFi29kdChfQxJx+ov6Jym ZVRA+pDiz/1OMP61QVcLAW0efJqmeFo4R4vcu5AqK8i0oMcEDqmLU9VkqEe/L+a/v5 EOYilIfmsCUkw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9ADB269B31; Fri, 13 Feb 2026 20:26:47 -0700 (MST) 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 IhY0hqyUD63B; Fri, 13 Feb 2026 20:26:47 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771039603; bh=F2YkD2LNVxqhjoRF7PUlpVWXjaYp1huo1Iwp19Hf6XU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kGFt1qf5gT8NRZZCyrmJWGbtlyFre8kDMHeCeBys+KeabQTf7H53GGUqKyDMX+EK1 z08WeijUjKTT2HfNrVaL90/Eeqn0Uwqn6/A0UmJW+yhvvQkx0YClEnbApCqRDRsLUT EbbB7QB5RDDTRkBE98bXGED89E0B3vErMENdmNa2cUaluHaLo1oiOA9KNbZdBsYs80 F2jkgIiUMW2RAjE8Xdf7lfChHBdSwu/+1z8GvN1/DMQXTjbgsHZDTZzfIAkilNmfWN /YCRgSogt/DRP2IWc4PkODAyQR7pq1RxNVYODd/QYwxzeLXgEt3SuwxKx7m0rvt/Jn VFEambTPP1t0w== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 336A669A69; Fri, 13 Feb 2026 20:26:43 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 13 Feb 2026 20:26:20 -0700 Message-ID: <20260214032632.3957279-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260214032632.3957279-1-sjg@u-boot.org> References: <20260214032632.3957279-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: HNQCWQITAQ2QX2OEZ3L6VMZN7NFNERPS X-Message-ID-Hash: HNQCWQITAQ2QX2OEZ3L6VMZN7NFNERPS 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 <simon.glass@canonical.com>, "Claude Opus 4 . 6" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/7] patman: Fix leaked checkpatch output during tests List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/HNQCWQITAQ2QX2OEZ3L6VMZN7NFNERPS/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
patman: Improve series subcommand output
|
|
Commit Message
Simon Glass
Feb. 14, 2026, 3:26 a.m. UTC
From: Simon Glass <simon.glass@canonical.com> Some checkpatch warnings lack file/line information and are not covered by the no_file_match list. This causes spurious messages on stderr when running 'patman test': patman: failed to find file / line information: ERROR:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: ... WARNING:PRIV_AUTO: struct 'fred' should have a _priv suffix Broaden the Signed-off-by match to cover the NO_AUTHOR_SIGN_OFF variant, and add a pattern for the struct suffix warnings. Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- tools/patman/checkpatch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py index fef07299acf..6f99a36a08d 100644 --- a/tools/patman/checkpatch.py +++ b/tools/patman/checkpatch.py @@ -92,8 +92,9 @@ def check_patch_parse_one_message(message): file_match = RE_FILE.search(message) # some messages have no file, catch those here no_file_match = any(s in message for s in [ - '\nSubject:', 'Missing Signed-off-by: line(s)', - 'does MAINTAINERS need updating' + '\nSubject:', 'Missing Signed-off-by:', + 'does MAINTAINERS need updating', + 'should have a', ]) if file_match: