]> git.baikalelectronics.ru Git - kernel.git/commit
of: unittest: document intentional interrupt-map provider build warning
authorFrank Rowand <frank.rowand@sony.com>
Sat, 30 Oct 2021 01:10:39 +0000 (20:10 -0500)
committerRob Herring <robh@kernel.org>
Tue, 2 Nov 2021 01:33:56 +0000 (20:33 -0500)
commitb7428f975c8cf470a03f88bcf790da4c2e79cb13
treefa923c16e68155cb689d7e63ec41826eac25c6b4
parentf6186ac35ecad34116bc8036339ec888bca28e9c
of: unittest: document intentional interrupt-map provider build warning

A recently implemented dtc compiler warning reports a dts problem
via a build warning:

   drivers/of/unittest-data/tests-interrupts.dtsi:32.26-35.6: Warning (interrupt_map): /testcase-data/interrupts/intmap1: Missing '#address-cells' in interrupt-map provider

The warning will be addressed by a separate patch by suppressing the
warning for .dts files that include this .dtsi.  This patch documents
why the warning is due to a deliberately incorrect .dtsi file so that
no one will fix the .dtsi file to prevent the build warning.

Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Link: https://lore.kernel.org/r/20211030011039.2106946-1-frowand.list@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest-data/tests-interrupts.dtsi
drivers/of/unittest.c