Lots of "Warning (unit_address_vs_reg): Node /blah/blah/blah has a unit name, but no reg property"
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/
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
+dtc list
Quoted 5 lines · Ian Campbell
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:
Quoted 7 lines
Warning (
unit_address_vs_reg): Node /soc@ff700000/ethernet@b0000 has a unit name, but no reg propertyIs 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"
?
Linux has this, but the warnings are only enabled with "W=1" builds. I'm trying to not have to review the trivial crap.
It's going to spew even more soon. I've posted some more dtc checks last week.
Quoted 2 lines
(a second issue is the lack of the offending filename in the warning message, I'll figure out the right venue for that next)
Yeah, I don't think the dtc checks infrastructure has the information as they run on the live tree after all the parsing is done.
Rob
Quoted 4 lines
Ian.
[0] https://git.kernel.org/cgit/linux/kernel/git/devicetree/devicetree-rebasing.git/
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): CAL_JsqLzW=XUNmzscL6GXMrP_TinPtcpuzatwz-gkC8X9BUQUA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Quoted 15 lines · Rob Herring
+dtc list
Quoted 1 line · Ian Campbell
I recently updated the device-tree-compiler package on the system
which
Quoted 5 lines
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
Quoted 3 lines
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
Quoted 7 lines
what I
Quoted 3 lines
did as a quick fix and added:
DTC_FLAGS="-W no-unit_address_vs_reg"
?Linux has this, but the warnings are only enabled with "W=1" builds. I'm trying to not have to review the trivial crap.
Specifically Linux adds the DTC_FLAGS="-W no-unit_address_vs_reg" only if W=0 (rather than enabling it if W=1).
I'll disable that one in the split tree too then.
Quoted 2 lines
It's going to spew even more soon. I've posted some more dtc checks last week.
Fun!
Quoted 5 lines
Quoted 2 lines
(a second issue is the lack of the offending filename in the warning message, I'll figure out the right venue for that next)
Yeah, I don't think the dtc checks infrastructure has the information as they run on the live tree after all the parsing is done.
I also started a thread on -compiler. I've replied there already (to
whit: printing the output filename in the warning would be a useful improvement).
Ian.