Re: [PATCH] of: fix device compatibility scoring

From: Reza Arbab
Date: Fri May 06 2016 - 11:10:41 EST

On Thu, May 05, 2016 at 02:47:18PM -0500, Rob Herring wrote:
This matching is very sensitive to changes. Can you please describe
what conditions don't work for you and add a test case for that
condition to the unit test.

Ah, thanks for pointing out the unit test.

Looking at the test cases there cleared up the misunderstanding I had which led me to suggest the patch. It does seem that the short-circuiting in __of_device_is_compatible() is intentional.

Please disregard. Sorry for the noise.

Reza Arbab