]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'"
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Fri, 13 Jan 2023 13:50:49 +0000 (08:50 -0500)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 21:55:41 +0000 (14:55 -0700)
This reverts commit 648d8186dd7f9c444fb07f355090d275dcdd4de4, because
it broke usage of patman on Linux, whose check script doesn't know
about '--strict' or '--u-boot'.

Reported-by: Sjoerd Simons <sjoerd@collabora.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Sjoerd Simons <sjoerd@collabora.com>
tools/patman/checkpatch.py

index 012c0d895cb3c9b346be9b10ddfb8a7d49ce5d54..d1b902dd9627df18f6a984a1143ebc51e4cd75ff 100644 (file)
@@ -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, '--u-boot', '--strict']
+    args = [chk]
     if not use_tree:
         args.append('--no-tree')
     if show_types: