summaryrefslogtreecommitdiff
path: root/tools/dtoc/test_dtoc.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-26 06:17:25 +0300
committerSimon Glass <sjg@chromium.org>2021-04-06 07:33:19 +0300
commit0c59acef34434e47e054957108eb4fa7cef93123 (patch)
tree5bab45c29f12e205d199e58a9e5bcaf9c889737f /tools/dtoc/test_dtoc.py
parent5f86454b3da54586513ab83941a021cb79c383c7 (diff)
downloadu-boot-0c59acef34434e47e054957108eb4fa7cef93123.tar.xz
dtoc: Show driver warnings once at the end
At present warnings are shown as soon as they are discovered in the source scannner. But the function that detects them may be called multiple times. Collect all the warnings and show them at the end. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/dtoc/test_dtoc.py')
-rwxr-xr-xtools/dtoc/test_dtoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dtoc/test_dtoc.py b/tools/dtoc/test_dtoc.py
index e951283457..458d68351e 100755
--- a/tools/dtoc/test_dtoc.py
+++ b/tools/dtoc/test_dtoc.py
@@ -104,7 +104,7 @@ def setup():
# Disable warnings so that calls to get_normalized_compat_name() will not
# output things.
- saved_scan = src_scan.Scanner(None, True, False)
+ saved_scan = src_scan.Scanner(None, False)
saved_scan.scan_drivers()
def copy_scan():