From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92C8CC432C0 for ; Wed, 20 Nov 2019 15:36:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 662E62071F for ; Wed, 20 Nov 2019 15:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574264189; bh=P8EGesrpH/uImOrrL+/RdkGKOxCuNxZ78Yspbo+u+EI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=IuOjQUcDB1I/A76a+hYFVOafT92zxCnFuUPiJ4CVPvTPM3KR1bEMVXkzSq065oG0e 7sCBpEG3k+7k5xbstXh/oir+YUal9Qd2J0hk2dUh7SiBsY7XRfHVRhFnHHKU2tRCns 0z2+DX7yW6d8eZ9XRZp4HWKCzOmFGrhlU6NdiuH4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728593AbfKTPg3 (ORCPT ); Wed, 20 Nov 2019 10:36:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:36140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727928AbfKTPg2 (ORCPT ); Wed, 20 Nov 2019 10:36:28 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B3D1A20709; Wed, 20 Nov 2019 15:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574264188; bh=P8EGesrpH/uImOrrL+/RdkGKOxCuNxZ78Yspbo+u+EI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oQLu82mZ95uMEgE5WA6MYB0/YllLETrWr92sxgPg/hbJLuLM3s2y0vZtqPUR9ZLlR Fg44tMvxARlO+7LGnxwdLXUVpEPXQSqFai0ffwvaj5wDEXkGXZqYMJVSPkbPBigKDH fKTDKWRcOx3VTWp+Ou7y67z3/+W94YLO8/iiFzXo= Date: Wed, 20 Nov 2019 16:36:25 +0100 From: Greg Kroah-Hartman To: Saravana Kannan Cc: Rob Herring , Frank Rowand , kernel-team@android.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] of: property: Fix the semantics of of_is_ancestor_of() Message-ID: <20191120153625.GA2981769@kroah.com> References: <20191120080230.16007-1-saravanak@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191120080230.16007-1-saravanak@google.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 > Signed-off-by: Saravana Kannan > --- > drivers/of/property.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) What git commit does this patch fix? thanks, greg k-h