Re: [PATCH 1/4] of/selftest: add testcase for nodes with same name and address

From: Frank Rowand
Date: Wed May 07 2014 - 22:51:54 EST


On 5/7/2014 2:48 PM, Rob Herring wrote:
> From: Rob Herring <robh@xxxxxxxxxx>
>
> Add a test case for nodes which have the same name and same
> non-translatable unit address.

If I apply patch 1 and 2 without applying 3 and 4 then console
warnings are printed, but from a different area of code than
the original problem reported. This probably is not a big deal,
but I'm trying to figure out if I can modify the test to also
show the original problem.

The test case also properly reports the failure.

Once all 4 patches are applied, then the test case passes.

Thus:

Tested-by: Frank Rowand <frank.rowand@xxxxxxxxxxxxxx>

>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> drivers/of/selftest.c | 23 ++++++++++++++++++
> drivers/of/testcase-data/testcases.dtsi | 1 +
> drivers/of/testcase-data/tests-platform.dtsi | 35 ++++++++++++++++++++++++++++
> 3 files changed, 59 insertions(+)
> create mode 100644 drivers/of/testcase-data/tests-platform.dtsi
>

< snip >

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/