Re: [PATCH 1/2] of: unittest: let dtc generate __local_fixups__

From: Frank Rowand
Date: Thu Nov 16 2017 - 13:35:08 EST


On 11/16/17 13:05, Rob Herring wrote:
> Remove the manually added __local_fixups__ because dtc can now generate
> them. This also fixes a new warning in the process:
>
> drivers/of/unittest-data/testcases.dtb: Warning (interrupts_extended_property): Could not get phandle node for /__local_fixups__/testcase-data/interrupts/interrupts-extended0:interrupts-extended(cell 3)
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> drivers/of/unittest-data/testcases.dts | 56 ++--------------------------------
> 1 file changed, 2 insertions(+), 54 deletions(-)
>
> diff --git a/drivers/of/unittest-data/testcases.dts b/drivers/of/unittest-data/testcases.dts
> index 12f7c3d649c8..ac616ad18ea6 100644
> --- a/drivers/of/unittest-data/testcases.dts
> +++ b/drivers/of/unittest-data/testcases.dts
> @@ -1,4 +1,6 @@
> /dts-v1/;
> +/plugin/;
> +
> / {
> testcase-data {
> changeset {
> @@ -23,57 +25,3 @@
> * The format of this data may be subject to change. For the time being consider
> * this a kernel-internal data format.
> */
> -/ { __local_fixups__ {
> - testcase-data {
> - phandle-tests {
> - consumer-a {

< snip >

You should also delete the comment immediately above that describes the removed lines.