Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp902282pxf; Wed, 7 Apr 2021 14:36:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycutMaM4fAywbkMyVJN8xXoG7zAlmi/pHaLWFIqlMsmHDRkdz8qvDXtYkdln2g/GzLs3+E X-Received: by 2002:a92:c56f:: with SMTP id b15mr4221774ilj.41.1617831380078; Wed, 07 Apr 2021 14:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617831380; cv=none; d=google.com; s=arc-20160816; b=bDKenqz/NstT6jBsDfAveYUfyDk4RYTE4gRa1ut/x5pyFqTBH2quI84lD9AwCsxFtl Pj8HT6BZ7p0b7+D8/0VirCWZ7qe0SzerkhkrMH++SfAGH0+XwMSU9QfAMqQYnbhyATHW GD05EhNtsEICsnQ8XGiDLN1ZWmcF0wIXYJccdlfJ95g8zEznDnWETdRlKnZQ4wPgzrUW BmctoirLxv4gFrlSxJ2cL+GREunhbIOU7UO/JJ5+z5W4/tthXlrUPKnyoTP8Qgfg/25M 6+qAx9ay1abJAIYoaX9dxkIj0Yf/HWV2GeK9dcej1TGWm6biJzgzEt+NNGK9xeLMazU5 VzQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=30vaYO8QvcWp/TkVqpqtB3ob8eJXnmjqog5CouESalk=; b=0IJD43wIjLqQi4OWvrTQVFSrSPuxE3eDCqI37jIqf+qKNjxPQXgm3VzhJzFtzS5Qcf eTDhBX9YOoEMPHh3iV7N75MOokoiqZi6RkovndvFeiZPU69G1QGT+Nzs4kfbyRNwWAxb W75Z0KM7D99ooEtY2IGg98ZxjhCKuJcE5Uua+iXXE8Wx5OBG0lRLPqvcg8HzYobCb9q1 kjwdpCvOb0WzULOhDn6ZJQtQL40zv1TPqx/WwGPwL04dWYJkg0YvPTGSyLqVdP87s1U0 ItS1N9WfC982csWupKkNsTdZAwA7PSYFlHPB0fD2t6zNZeWsvEe5AaEJyTzx0t9YbsM7 HkFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hs7bKSs1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p31si22569488jal.19.2021.04.07.14.36.07; Wed, 07 Apr 2021 14:36:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hs7bKSs1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236544AbhDGQ3i (ORCPT + 99 others); Wed, 7 Apr 2021 12:29:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237178AbhDGQ3i (ORCPT ); Wed, 7 Apr 2021 12:29:38 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1520C061756 for ; Wed, 7 Apr 2021 09:29:28 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id e10so5245624pls.6 for ; Wed, 07 Apr 2021 09:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=30vaYO8QvcWp/TkVqpqtB3ob8eJXnmjqog5CouESalk=; b=hs7bKSs1jZB7tVMk24eqMdDhXi/Zi78JsD8ccMJHgSikkyBi9yOwjKQYOw7Qpa+91C zj3yKvPCbnyb5xrHxkYPdawFWI+zjII/gCnB3bat7B3fUY7b0UbDQ6otxH8nWAxlf/i8 DVRFFuQUbSzXDHNzi+E7uCv4Pr5a4DuOBgOP8cl+YkyjitiTFsKSkNEKKmiY63amBIvB lAPAVSA5vcJd4ludsDfTHGGedt+fdfQqvUA9M/V8wMWMUV40Lf8uiyFXG/bY7TJqsfL7 z1s2Y65AkNZhj6EE3p8g/gek5keY3i+9u3obqr7J/zA/WsbiGe75qDFEY7e3rLJ0iYPh kNGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=30vaYO8QvcWp/TkVqpqtB3ob8eJXnmjqog5CouESalk=; b=mUcxcWSQhlXbpVYB4kvTTN2/59HbenDGJLM4fttnTZqddx7rkIDtGxgAYzU3M7bGsT 9pEbIg1jYDqaMgHPs1fWNq87Z9+iX5cZnN221XZHT8+GIDlr69TSFOAZloY2kXTn4F4A 2HZOpE9JYU36l3+NKYSm27hlhn9ZN8h4Nh6htImXGU5yCDh102PxiOoS2jLN530clkGw Fvo4H+ZOTae+jQMqxayA8NF8FeJJmAq28BcNnCmhOclNE0opWQ83PXVSOvI81S9bSZjV oxA3A/wp/IUpmK4CvKviv9jMVvGQkc3utQdfxUDOb2h4zA47mis3c+31vS9pbi59TbYb n4OA== X-Gm-Message-State: AOAM530hFD1sYSugfk9JGROSHa7QcOOlrPtiZc+DwPZDCc5kq6ADYQm0 4pGptHcjjzEEKSZMHRHhOfabTg== X-Received: by 2002:a17:90a:6e47:: with SMTP id s7mr4143181pjm.229.1617812968299; Wed, 07 Apr 2021 09:29:28 -0700 (PDT) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id x18sm2456918pfu.32.2021.04.07.09.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 09:29:27 -0700 (PDT) Date: Wed, 7 Apr 2021 10:29:26 -0600 From: Mathieu Poirier To: peng.fan@oss.nxp.com Cc: ohad@wizery.com, bjorn.andersson@linaro.org, o.rempel@pengutronix.de, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-remoteproc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH V2 1/4] remoteproc: imx: add missing of_node_put Message-ID: <20210407162926.GC418374@xps15> References: <1617082235-15923-1-git-send-email-peng.fan@oss.nxp.com> <1617082235-15923-2-git-send-email-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1617082235-15923-2-git-send-email-peng.fan@oss.nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 30, 2021 at 01:30:32PM +0800, peng.fan@oss.nxp.com wrote: > From: Peng Fan > > After of_parse_phandle, we need of_node_put to decrease the refcount > of the device_node. > > Reported-by: Mathieu Poirier > Signed-off-by: Peng Fan > --- > drivers/remoteproc/imx_rproc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c > index 6d3207ccbaef..077413319f58 100644 > --- a/drivers/remoteproc/imx_rproc.c > +++ b/drivers/remoteproc/imx_rproc.c > @@ -459,6 +459,8 @@ static int imx_rproc_addr_init(struct imx_rproc *priv, > return err; > } > > + of_node_put(node); > + Reviewed-by: Mathieu Poirier > if (b >= IMX7D_RPROC_MEM_MAX) > break; > > -- > 2.30.0 >