Re: [PATCH] of: property: Fix the semantics of of_is_ancestor_of()

From: Greg Kroah-Hartman
Date: Wed Nov 20 2019 - 10:36:30 EST


On Wed, Nov 20, 2019 at 12:02:29AM -0800, Saravana Kannan wrote:
> The of_is_ancestor_of() function was renamed from of_link_is_valid()
> based on review feedback. The rename meant the semantics of the function
> had to be inverted, but this was missed in the earlier patch.
>
> So, fix the semantics of of_is_ancestor_of() and invert the conditional
> expressions where it is used.
>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>
> ---
> drivers/of/property.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

What git commit does this patch fix?

thanks,

greg k-h