Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66C50C6FD1E for ; Tue, 7 Mar 2023 09:43:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbjCGJnH (ORCPT ); Tue, 7 Mar 2023 04:43:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbjCGJnC (ORCPT ); Tue, 7 Mar 2023 04:43:02 -0500 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D51CDA27D; Tue, 7 Mar 2023 01:42:59 -0800 (PST) Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D1F0F60003; Tue, 7 Mar 2023 09:42:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678182178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A/nrrM7GOwNypzZEIPS3KZcPQ6pGpKzGHZi2T20yll0=; b=PbqPkEUab+79Gt+LmPzjN2iHg5Z5eimhqS+BTKlPK6x8Q++UPNoN34mtHjZGL1mSJhlvU5 G/a9FmDimWgcYRjPkydKswdoGfPhBW97D0ycBO9mwE6rwkeoTaqLPJTAJM05vnS3B4PcLo n5g/7H1ZfHQsSVpoGTiOGCpRpfGXv3mQw4L+iEmDyexWGDV/lbENpJlPYdpJolh9PxD2dS n26q2Py5+TfcpKQpmgPfYwI0G+cuyHQ4LamHDPTLJ4uL/M7zTaX3Y5OTD0B9d/cW7kggme BVm3zRagdt/UZu2aAgnrjpD3uRNAmAR1Xk5hGLVPPmKSSsJWqK7tFzWRCNWBQA== Date: Tue, 7 Mar 2023 10:42:53 +0100 From: Luca Ceresoli To: Johan Hovold Cc: Georgi Djakov , "Shawn Guo" , "Sascha Hauer" , "Pengutronix Kernel Team" , "Fabio Estevam" , "NXP Linux Team" , "Andy Gross" , "Bjorn Andersson" , "Konrad Dybcio" , "Sylwester Nawrocki" , Artur =?UTF-8?Q?=C5=9Awigo=C5=84?= , "Krzysztof Kozlowski" , "Alim Akhtar" , "Thierry Reding" , "Jonathan Hunter" , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 01/23] interconnect: fix mem leak when freeing nodes Message-ID: <20230307104253.761c048f@booty> In-Reply-To: <20230306075651.2449-2-johan+linaro@kernel.org> References: <20230306075651.2449-1-johan+linaro@kernel.org> <20230306075651.2449-2-johan+linaro@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Johan, thanks for respinning. On Mon, 6 Mar 2023 08:56:29 +0100 Johan Hovold wrote: > The node link array is allocated when adding links to a node but is not > deallocated when nodes are destroyed. > > Fixes: 11f1ceca7031 ("interconnect: Add generic on-chip interconnect API") > Cc: stable@vger.kernel.org # 5.1 > Reviewed-by: Konrad Dybcio > Signed-off-by: Johan Hovold [Tested on i.MX8MP using an MSC SM2-MB-EP1 Board] Tested-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com