summaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest-data
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-11-16 11:54:17 -0600
committerRob Herring <robh@kernel.org>2017-11-16 12:43:13 -0600
commitc00758387c3dff94a59fd3521a5ac713c30328af (patch)
treec59e7ea32956dbcf6a52d3f96fd4a66c87d38997 /drivers/of/unittest-data
parentf5525593c6142ebafba2ea83d86c6bb2994d7ddd (diff)
downloadlinux-c00758387c3dff94a59fd3521a5ac713c30328af.tar.bz2
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>
Diffstat (limited to 'drivers/of/unittest-data')
-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