[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250113-checkpatch-ignore-v1-0-63a7a740f568@google.com>
Date: Mon, 13 Jan 2025 16:04:21 +0000
From: Brendan Jackman <jackmanb@...gle.com>
To: Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>,
Dwaipayan Ray <dwaipayanray1@...il.com>, Lukas Bulwahn <lukas.bulwahn@...il.com>,
Jonathan Corbet <corbet@....net>
Cc: linux-kernel@...r.kernel.org, workflows@...r.kernel.org,
linux-doc@...r.kernel.org, Brendan Jackman <jackmanb@...gle.com>
Subject: [PATCH 0/2] checkpatch: Add support for Checkpatch-ignore patch footer
Checkpatch sometimes has false positives. This makes it less useful for
automatic usage: tools like b4 [0] can run checkpatch on all of your
patches and give you a quick overview. When iterating on a branch, it's
tiresome to manually re-check that any errors are known false positives.
This patch adds a feature to record in the commit message that a patch
might produce a certain checkpatch error, and that this is an expected
false positive. Recording this information in the patch itself can also
highlight it to reviewers, so they can make a judgment as to whether
it's appropriate to ignore.
Signed-off-by: Brendan Jackman <jackmanb@...gle.com>
---
Brendan Jackman (2):
checkpatch: Add support for Checkpatch-ignore patch footer
docs: checkpatch: Document Checkpatch-ignore patch footer
Documentation/dev-tools/checkpatch.rst | 9 ++++++++-
scripts/checkpatch.pl | 11 ++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
---
base-commit: eae581be230bec00287807017839b3b2cd83f9ff
change-id: 20250113-checkpatch-ignore-1096914844eb
Best regards,
--
Brendan Jackman <jackmanb@...gle.com>
Powered by blists - more mailing lists