]> git.baikalelectronics.ru Git - uboot.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)
commit309e26ffcb632e2bb20a403c4ef2e3e57d7f9757
treece002d14c6c8690a1369c573c3f932cf1524a34d
parent1b698b091146dc101c4d8c82ed9693c0462df1f9
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