From: Maxim Cournoyer Date: Fri, 13 Jan 2023 13:50:49 +0000 (-0500) Subject: Revert "patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'" X-Git-Tag: baikal/mips/sdk5.8.2~5^2~83^2~1 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=d87e481dd5090b53cfc7766fd3c6cc12483f0fa0;p=uboot.git Revert "patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'" This reverts commit bef8df75e4ef184dda6a938e1e6f57bfa61b2db7, because it broke usage of patman on Linux, whose check script doesn't know about '--strict' or '--u-boot'. Reported-by: Sjoerd Simons Signed-off-by: Maxim Cournoyer Reviewed-by: Simon Glass Tested-by: Sjoerd Simons --- diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py index 012c0d895c..d1b902dd96 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, '--u-boot', '--strict'] + args = [chk] if not use_tree: args.append('--no-tree') if show_types: