diff mbox series

[3/9] patman: invoke the checkpatch.pl script with '--u-boot'

Message ID 20221219015923.25966-3-maxim.cournoyer@savoirfairelinux.com
State Superseded
Delegated to: Simon Glass
Headers show
Series [1/9] patman: cosmetic: Fix PEP 8 warnings for the gitutil module. | expand

Commit Message

Maxim Cournoyer Dec. 19, 2022, 1:59 a.m. UTC
This resolves 10 out of 11 test failures seen when running
'tools/patman/patman test', which were caused by a change in the
checkpatch.pl script.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
---

 tools/patman/checkpatch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py
index d1b902dd96..8755470ddb 100644
--- a/tools/patman/checkpatch.py
+++ b/tools/patman/checkpatch.py
@@ -211,7 +211,7 @@  def check_patch(fname, verbose=False, show_types=False, use_tree=False):
             stdout: Full output of checkpatch
     """
     chk = find_check_patch()
-    args = [chk]
+    args = [chk, '--u-boot']
     if not use_tree:
         args.append('--no-tree')
     if show_types: