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 <[email protected]>
---

(no changes since v1)

 tools/dtoc/dtb_platdata.py  |  6 ++++--
 tools/dtoc/src_scan.py      | 15 +++++++++------
 tools/dtoc/test_dtoc.py     |  2 +-
 tools/dtoc/test_src_scan.py | 38 ++++++++++++++++++-------------------
 4 files changed, 33 insertions(+), 28 deletions(-)

Applied to u-boot-dm, thanks!

Reply via email to