workflows.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] checkpatch: Add support for Checkpatch-ignore patch footer
@ 2025-01-13 16:04 Brendan Jackman
  2025-01-13 16:04 ` [PATCH 1/2] " Brendan Jackman
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Brendan Jackman @ 2025-01-13 16:04 UTC (permalink / raw)
  To: Andy Whitcroft, Joe Perches, Dwaipayan Ray, Lukas Bulwahn,
	Jonathan Corbet
  Cc: linux-kernel, workflows, linux-doc, Brendan Jackman

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@google.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@google.com>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-01-15  9:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13 16:04 [PATCH 0/2] checkpatch: Add support for Checkpatch-ignore patch footer Brendan Jackman
2025-01-13 16:04 ` [PATCH 1/2] " Brendan Jackman
2025-01-13 19:15   ` Joe Perches
2025-01-14 11:42     ` Brendan Jackman
2025-01-14 11:43       ` Brendan Jackman
2025-01-14 13:34   ` Konstantin Ryabitsev
2025-01-14 14:25     ` Brendan Jackman
2025-01-14 16:04       ` Konstantin Ryabitsev
2025-01-14 18:29         ` Brendan Jackman
2025-01-14 19:26           ` Konstantin Ryabitsev
2025-01-15  9:58             ` Brendan Jackman
2025-01-13 16:04 ` [PATCH 2/2] docs: checkpatch: Document " Brendan Jackman
2025-01-13 16:20 ` [PATCH 0/2] checkpatch: Add support for " Matthew Wilcox
2025-01-13 17:11   ` Brendan Jackman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).