From patchwork Sat Jun 6 21:31:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schwierzeck X-Patchwork-Id: 241860 List-Id: U-Boot discussion From: daniel.schwierzeck at gmail.com (Daniel Schwierzeck) Date: Sat, 6 Jun 2020 23:31:03 +0200 Subject: [PATCH] patman: use new --u-boot option with checkpath.pl Message-ID: <20200606213103.26605-1-daniel.schwierzeck@gmail.com> checkpatch.pl now supports a --u-boot option for U-Boot specific checks. Use that in patman to check the patch series. Signed-off-by: Daniel Schwierzeck --- tools/patman/checkpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py index 795b519314..7f507154b8 100644 --- a/tools/patman/checkpatch.py +++ b/tools/patman/checkpatch.py @@ -64,7 +64,7 @@ def CheckPatch(fname, verbose=False): result.problems = [] chk = FindCheckPatch() item = {} - result.stdout = command.Output(chk, '--no-tree', fname, + result.stdout = command.Output(chk, '--no-tree', '--u-boot', fname, raise_on_error=False) #pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE) #stdout, stderr = pipe.communicate()