On Mon, Mar 20, 2017 at 09:44:15AM -0500, Rob Herring wrote:
This is a series of checks designed to check problems commonly found in
binding reviews. The first patch adds checks for PCI bridges and devices.
The 2nd patch is new in this version and adds checks for simple-bus. The
3rd patch is a default check if bus type is not set to check for '0x' or
leading 0s in unit addresses.
Rob
Rob Herring (3):
checks: Add bus checks for PCI buses
checks: Add bus checks for simple-bus buses
checks: Warn on node name unit-addresses with '0x' or leading 0s
Applied to master, thanks.
checks.c | 231 +++++++++++++++++++++++++++++++++++++++++
dtc.h | 5 +
tests/run_tests.sh | 2 +
tests/unit-addr-leading-0s.dts | 12 +++
tests/unit-addr-leading-0x.dts | 12 +++
5 files changed, 262 insertions(+)
create mode 100644 tests/unit-addr-leading-0s.dts
create mode 100644 tests/unit-addr-leading-0x.dts
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson