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=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 6022CC433B4 for ; Wed, 7 Apr 2021 16:31:25 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EB30C61205 for ; Wed, 7 Apr 2021 16:31:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EB30C61205 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=plAVm5/f1H6TH4ZVv5BmfkNzDFK/uxvBGxyuaonr0m8=; b=FSt/jUkMobLJywhiwaCcpQnUH 39pcddfMgJW3ZlaE5rzSBJTMCbYdw7VmqWtvL702suF0yudcmcpj0SAdptU9Zs1DlHGBxJbE7Zr50 9M05t+zHDZjJJbDUVhPVoboszMiBSychkEQMn2lprX5+4N/KautM6k4bOhdObh2d3LJso/5Ei7xSL Wj4teLApRE+0Qf4zoSCq/GpZaIaxc/841fMYjbuVM7P8L0CzhFvYt8b2fx1Ly5V4dlwUapPx+mjKU fGYVpOI9UJa4b5pBuG8SLrGz13m6EStMvOr50dkr9pqrBV3Cuks40qAEJxRNcTTKp/PSi2J8ThFgu TZFOVfV7A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUB3i-005TMf-Eq; Wed, 07 Apr 2021 16:29:38 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUB3b-005TKV-5v for linux-arm-kernel@lists.infradead.org; Wed, 07 Apr 2021 16:29:33 +0000 Received: by mail-pl1-x630.google.com with SMTP id h20so9612666plr.4 for ; Wed, 07 Apr 2021 09:29:29 -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=LE9vSH8Gm/ku2sWgzlVXEaU35ecoLPDKHZGyiPI1g22DBMFBAXfIdLTfUpwN6obvpZ JZVb/kUWv43Al8pY9BrazeE2/tHDl3XhPzPC2pdJwYDeDASSt4kKacNiMDmE0/BxLBkH Zc8t6umFie9uinBiiPj2BBQOQnCbsnvrs9zw1R8KdjcVuwcH/EnC2bFezLvMX88dXKDi Hua8eA5w02cbVsGS24yaa1QM/otxH3qwNQKrG9TJBPhpi0S3fexsVw70bRwTyYhzhzxw o0h1f/awJYs08epxvYxwIQXqctmr8H6e7Uvn1+2zykqdb8H4fTjNyDLElLJ8V8/8OgC6 rZCQ== X-Gm-Message-State: AOAM533kdmBm960GYudF/I0Rq8mF6DIx8e+EYrVngzZPkXeaWosBqhPz v/gp2P4nY/satWC8flg2dpPSAw== X-Google-Smtp-Source: ABdhPJxp1BMcOO2FCXs6zLTKMNXvSMVT4MFuXpVxFI+xBc98lIgK6yT8/QQT0HBAnGcZnxOd2LsOgg== 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-Disposition: inline In-Reply-To: <1617082235-15923-2-git-send-email-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210407_172931_400457_50ABC5AE X-CRM114-Status: GOOD ( 15.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel