]> git.dujemihanovic.xyz Git - u-boot.git/commit
checkpatch: Don't warn about PREFER_IF in headers/DT files
authorSimon Glass <sjg@chromium.org>
Sun, 14 Jun 2020 16:54:08 +0000 (10:54 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:57:22 +0000 (18:57 -0600)
commit8af45b1f20f7f56a872297873f793655fe37f8e3
treece002d14c6c8690a1369c573c3f932cf1524a34d
parent5c430761e6a618032498fe294376a15a7ed1ee0b
checkpatch: Don't warn about PREFER_IF in headers/DT files

This warning should only be displayed for C files. Fix it and update the
test.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/checkpatch.pl
tools/patman/test_checkpatch.py