Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2434710pxu; Sat, 28 Nov 2020 14:02:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5Kvc6EyBTC+7y6wgweNh27mzCOsEMtcDQTbHJQW/tYk7iZyfqFBQENS0GWimMKiCHuBRp X-Received: by 2002:a17:906:c408:: with SMTP id u8mr12544883ejz.364.1606600946731; Sat, 28 Nov 2020 14:02:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606600946; cv=none; d=google.com; s=arc-20160816; b=Z9R5dyYnAIK0B/PvH+oAvgcXzB+tYfRrm3uBimP61gqoOz9wLu8uDEXjYivVRWNZ63 VQmLOGtx9Pmom1w1P9l0iwNWob26Iy/AiS/E5f2nfkjJQFFopxrq+MvRjf1asp/1G30q OxMOAjp4faH3fjqhV9HJA7RS88RkiPpeDoebfAhE7wtomnGehACc5sZaxDY0JYhkDAuf 5Yysnx1YhlgsUsxPMd7dH62MtZa+f30udv43L+VExnN/2mna0GKOsjOT22aPmoKX+N9k pw9tr29rRuUcMHXGtR2G/BtPqvDc3FaUI5AHi2mkCBuIp7A+h3vFBPs7rjCG53xup6P+ xdnw== 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; bh=94w+w4q2DL8CfQBxAM1xY8lwOUr+KvOfw3ByQOJVKuk=; b=W0sVTMsQptPDufqNs+2P3eTjygrfiqi2eXA8R0IbF4W4mj22RjHQOkkPoxHCond3KV +AD6lrIvgqNjs03Z7zALaJGhxQO5luIIl0G+e22tcP4K305IF4ZoqkopuY2bIjnkGKCc PZydiSTMXCqT026JTDta7p16NExAbvHByHBQfts4MKrAGy+7541Q4G8+JQV/PlfIpNuF CwKOaHJTLLfinEdiDbjRY798nh42+yO5S51afqwu8i4oPSCnZoobxDQDafMH9X43jBxZ KlJnX7QU45CIbaQYQDmwj2XW2nffa2qwTevIMRH8vl7E5lM6W3fX923bnASMNnVC1sEO fXXQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t17si7975117edq.418.2020.11.28.14.02.04; Sat, 28 Nov 2020 14:02:26 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390825AbgK1Vvh (ORCPT + 99 others); Sat, 28 Nov 2020 16:51:37 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:35201 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731299AbgK1Sto (ORCPT ); Sat, 28 Nov 2020 13:49:44 -0500 Received: by mail-lf1-f68.google.com with SMTP id a9so12059741lfh.2; Sat, 28 Nov 2020 10:49:27 -0800 (PST) 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=94w+w4q2DL8CfQBxAM1xY8lwOUr+KvOfw3ByQOJVKuk=; b=knwr6FWiDspxB0X1Culaha/p7eb3xJfHmACgGn7ReKXwwN0GGq4cIvMN5nhzJnGPQp iBC30DtrWtA5J7PtG5CVaMDQ3kgJ9ZNQtVudKLiK8b+ho3bmlYHLEYPHsaB4ZXXrcD6A gpE4X+fdY7dSzrKZODKjwSZDqcIK7nxHWKkxH4+kPM1GPZpgqAYIWnGiOcA0o294xzfs zmre0zb1bwYef/gWreJpoCCNdHIIaSs6snkeRjUEV7rHgl2xrCC5CyIz4sG5v1wgipch 92vj0HfzhENyaCji6X6v9QnwncnyLUCGhQ4V2gx/armh+b4ikysbN02WCWEPAOWnLaBG dZPw== X-Gm-Message-State: AOAM530UZra3eEh2LEKqwiesxNUOz8P2+4eV5kMxYCLX9TEP07GnLkHP DrKFWXUSCHLj69uto9geQZc3sNlUgvA= X-Received: by 2002:a17:906:7c56:: with SMTP id g22mr12023158ejp.282.1606563360738; Sat, 28 Nov 2020 03:36:00 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id a12sm6295814edu.89.2020.11.28.03.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2020 03:35:59 -0800 (PST) Date: Sat, 28 Nov 2020 12:35:58 +0100 From: Krzysztof Kozlowski To: Pavel Machek Cc: Lad Prabhakar , Sergei Shtylyov , Philipp Zabel , Jiri Kosina , Mark Brown , linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org, Prabhakar , stable@vger.kernel.org Subject: Re: [PATCH v2 3/5] memory: renesas-rpc-if: Fix a reference leak in rpcif_probe() Message-ID: <20201128113558.GC4761@kozik-lap> References: <20201126191146.8753-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20201126191146.8753-4-prabhakar.mahadev-lad.rj@bp.renesas.com> <20201127224114.GB19743@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201127224114.GB19743@duo.ucw.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 27, 2020 at 11:41:14PM +0100, Pavel Machek wrote: > On Thu 2020-11-26 19:11:44, Lad Prabhakar wrote: > > Release the node reference by calling of_node_put(flash) in the probe. > > > > Fixes: ca7d8b980b67f ("memory: add Renesas RPC-IF driver") > > Reported-by: Pavel Machek > > Signed-off-by: Lad Prabhakar > > Cc: stable@vger.kernel.org > > Reviewed-by: Sergei Shtylyov > > Reviewed-by: Pavel Machek (CIP)< This breaks b4. Corrected and applied. Best regards, Krzysztof