[PATCH] Make duplicate node name checks fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I stumbled on a problem when removing an include that I started getting
an unrelated error about duplicate errors. The change here is the
minimal change that makes a failing dts compile "successfully".

Posting this as I'm not familiar with the parsing code.

Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
---
 tests/dup-nodename.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/dup-nodename.dts b/tests/dup-nodename.dts
index 2a3aa7596b9c..ac6ec8013afb 100644
--- a/tests/dup-nodename.dts
+++ b/tests/dup-nodename.dts
@@ -1,5 +1,7 @@
 /dts-v1/;
 
+/{};
+
 / {
 	node {
 	};
-- 
2.19.1




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux