Lots of "Warning (unit_address_vs_reg): Node XXX has a unit name, but no reg property"

From: Ian Campbell <hidden>
Date: 2017-01-30 08:43:02

I recently updated the device-tree-compiler package on the system which
builds the split device tree repo[0]�from 1.4.0+dfsg-2 to 1.4.2-1
(debian package versions) and now during the test build I see many
(over 1,000) of these:

    Warning (unit_address_vs_reg): Node     /soc@ff700000    /ethernet@b0000     has a unit name, but no reg property

    Is this something which is known? Maybe Linux hasn't pulled in the
    newer dtc yet so you aren't hitting it yet, or maybe you've done what I
    did as a quick fix and added:
    DTC_FLAGS="-W no-unit_address_vs_reg"
    ?

    (a second issue is the lack of the offending filename in the warning
    message, I'll figure out the right venue for that next)

    Ian.

    [0]     https://git.kernel.org/cgit/linux/kernel/git/devicetree/devicetree-rebasing.git/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help