Re: [PATCH] of: fix device compatibility scoring
From: Rob Herring
Date: Thu May 05 2016 - 15:47:44 EST
On Thu, May 5, 2016 at 1:30 PM, Reza Arbab <arbab@xxxxxxxxxxxxxxxxxx> wrote:
> If a constraint given to __of_device_is_compatible() does not
> match, we should just move to the next constraint without adding
> to the compatibility score. Instead, the function immediately
> returns 0.
>
> Do not return from __of_device_is_compatible() until a complete
> score has been calculated.
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.
Rob