of: unittest: disable interrupts_property warning
authorRob Herring <robh@kernel.org>
Thu, 16 Nov 2017 17:54:17 +0000 (11:54 -0600)
committerRob Herring <robh@kernel.org>
Thu, 16 Nov 2017 18:43:13 +0000 (12:43 -0600)
The testcases.dts has purposely bad data which now generates a dtc warning:

drivers/of/unittest-data/testcases.dtb: Warning (interrupts_property): interrupts size is (4), expected multiple of 8 in /testcase-data/testcase-device2

Disable this warning for now. The proper solution is to split the unit
tests into good and bad data.

Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest-data/Makefile

index 2d135fb..84b3bc4 100644 (file)
@@ -1,3 +1,4 @@
+DTC_FLAGS_testcases := -Wno-interrupts_property
 obj-y += testcases.dtb.o
 
 targets += testcases.dtb testcases.dtb.S