summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-11-16 20:54:17 +0300
committerRob Herring <robh@kernel.org>2017-11-16 21:43:13 +0300
commitc00758387c3dff94a59fd3521a5ac713c30328af (patch)
treec59e7ea32956dbcf6a52d3f96fd4a66c87d38997
parentf5525593c6142ebafba2ea83d86c6bb2994d7ddd (diff)
downloadlinux-c00758387c3dff94a59fd3521a5ac713c30328af.tar.xz
of: unittest: disable interrupts_property warning
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>
-rw-r--r--drivers/of/unittest-data/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/Makefile b/drivers/of/unittest-data/Makefile
index 2d135fba94c1..84b3bc44c0b4 100644
--- a/drivers/of/unittest-data/Makefile
+++ b/drivers/of/unittest-data/Makefile
@@ -1,3 +1,4 @@
+DTC_FLAGS_testcases := -Wno-interrupts_property
obj-y += testcases.dtb.o
targets += testcases.dtb testcases.dtb.S