Received: by 10.223.164.202 with SMTP id h10csp384404wrb; Fri, 17 Nov 2017 02:12:11 -0800 (PST) X-Google-Smtp-Source: AGs4zMYqTE3o4OjCcMzAyz4pMm1WnqrXTKqrZW66Mhz9zGo0w52/l+OOp/3vq7NQ/hcaRnLh+bnX X-Received: by 10.159.195.7 with SMTP id bd7mr4797719plb.43.1510913531134; Fri, 17 Nov 2017 02:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510913531; cv=none; d=google.com; s=arc-20160816; b=vMy4fy4H3m3uaNtIkJ1V8SDNahMoA3ymLg7IYXmQ7a0bMK4sOD2wYWL7xnfsQGDf4Z bnmNxdd6OUhEytDG69FqM2r6iuz0Flm2Whb602em1/RQyUz6PuUExDl8edtxQe6fNcvw vFG7XguMO227MR7o1eewUs6vMh43qOjJ78OHAWF2VT+YrNCYU7bmfhmzGN3fxoJkc5ko KwnmX/Ur5YwCPuC6+tbUUhAMkmQDdRYbNJXa7JB2euwOZFBK5e4/1pRZZJ/ra5wUx5vg 5gJsT8FkTGqTl0Aq0DA0npRtlFvwx3EnUftPbIYETi/Xq5NCpbPcanyndlW+nrafKdHI A/4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=wz4xvHtUxIestb37xt6VtkF1b6kTjAwnAolIhm+RGqE=; b=Mw5BoqcWQbotVF83T2joLUAy8/umxqIg2KzB0lKE3skZyf1CH9A7+RESOV//y6+0Xl hfYsJzMs/Xe4f1lnlzdy0+XnQRGasePTBm30SYz1S/FCf+shDu0qg2hIByw0+htVYFCY D8wPqnSuNjEeEjNoqt0+ZA4pLRRc3FcvXwETEDh4j5E4AVj6V1TaMJtgcSynnW/UxaOd bOpl5bHqAlctDiudYIyLVt75kkuF6qaruq109tUjaqjj3r71oHBcnoG3cNhmtxoqxcUU 3wyLBncj3Bt08V1BWJinxaOnomur+D1+Ga49+5R/yu8LDP8ZHW4ViUZ04UC+Fc2bHaRB 53xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=mVQNLT4+; dkim=pass header.i=@codeaurora.org header.s=default header.b=mVQNLT4+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si2477517pgc.309.2017.11.17.02.11.58; Fri, 17 Nov 2017 02:12:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=mVQNLT4+; dkim=pass header.i=@codeaurora.org header.s=default header.b=mVQNLT4+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755849AbdKQCoN (ORCPT + 91 others); Thu, 16 Nov 2017 21:44:13 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:37662 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755785AbdKQCoG (ORCPT ); Thu, 16 Nov 2017 21:44:06 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BEA646086D; Fri, 17 Nov 2017 02:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510886645; bh=dRqF/cDrOvnX2z13f4U3FXKvyguX31ii6APgLVeVlbM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mVQNLT4+NzZ25eM75J7ApPfDdnlLY8bQTQ20YNfraMDI0zMTb3Y4pms32ExE3yCS0 MEwzFAhoC0sKNwTHjnkQeIWzmWaK9xzQ/nHHsCjIqP3G7W62kybXAUERCX6P24dLD5 bxi/cew/2bs4cqybNhtbpLJNxcYIan6dpYA2scRY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4F42360856; Fri, 17 Nov 2017 02:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510886645; bh=dRqF/cDrOvnX2z13f4U3FXKvyguX31ii6APgLVeVlbM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mVQNLT4+NzZ25eM75J7ApPfDdnlLY8bQTQ20YNfraMDI0zMTb3Y4pms32ExE3yCS0 MEwzFAhoC0sKNwTHjnkQeIWzmWaK9xzQ/nHHsCjIqP3G7W62kybXAUERCX6P24dLD5 bxi/cew/2bs4cqybNhtbpLJNxcYIan6dpYA2scRY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4F42360856 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 16 Nov 2017 18:44:04 -0800 From: Stephen Boyd To: Randy Dunlap Cc: Rob Herring , Frank Rowand , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] of: Document exactly what of_find_node_by_name() puts Message-ID: <20171117024404.GV11955@codeaurora.org> References: <20171111014536.3592-1-sboyd@codeaurora.org> <0ef4b415-801c-cb58-5de1-01bcfba1c778@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0ef4b415-801c-cb58-5de1-01bcfba1c778@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/10, Randy Dunlap wrote: > On 11/10/2017 05:45 PM, Stephen Boyd wrote: > > It isn't clear if this function of_node_put()s the 'from' > > argument, or the node it finds in the search. Clearly indicate > > which variable is touched. > > > > Signed-off-by: Stephen Boyd > > --- > > drivers/of/base.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/of/base.c b/drivers/of/base.c > > index 63897531cd75..602c5d65734a 100644 > > --- a/drivers/of/base.c > > +++ b/drivers/of/base.c > > @@ -866,7 +866,7 @@ EXPORT_SYMBOL(of_find_node_opts_by_path);> * @from: The node to start searching from or NULL, the node > > * @from: The node to start searching from or %NULL; the node > > > * you pass will not be searched, only the next one > > * will; typically, you pass what the previous call > > * will. Typically, you pass what the previous call > Rob, do you want me to fold this in? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From 1583733982298752224@xxx Sat Nov 11 02:13:42 +0000 2017 X-GM-THRID: 1583732270078976484 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread