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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF898CDB47E for ; Thu, 19 Oct 2023 00:54:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229688AbjJSAyP (ORCPT ); Wed, 18 Oct 2023 20:54:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjJSAyP (ORCPT ); Wed, 18 Oct 2023 20:54:15 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AFFD118 for ; Wed, 18 Oct 2023 17:54:13 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35DDCC433C7; Thu, 19 Oct 2023 00:54:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697676853; bh=qldABZEm4iEuzefbS6tw1hvTzUYfXMHWYUdoVSGer+8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=HAeRm/HborebXWpwiR5q1JlVQQRCkodgIcvj2p/xfuhRDlqDD4LLUs63PAzMcJpnr lZTfqEPi8S5fIb94wPxtvNDA7T+YQeMGfoK2xjc3iK2I0HzHEwGCxBgV4t8OdE7gU/ n+Jw6mV8NZwXVCZRQd5RxP+hap7sL5HrpQ2T/eQQoAE6ntxrO2HOpl3mwnaMbvzkB/ uNAmD7skTFZ1XLD4wfhu5XsofYBpv0h7QnfwOs0XNV/5UC/GB0ua1C+GtLJ/03jnOW yLzGXZ/l0koaM45COY0zWE11oJ3WPgeAGgqF/mNYBpbq5pg5Ssr5k6jNqeAmaypQhT D5aTJcveP3flQ== Message-ID: <624ad8f4e966bb62e6d7571da868c3d3.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20231004193600.66232-1-sudeep.holla@arm.com> References: <20231004193600.66232-1-sudeep.holla@arm.com> Subject: Re: [PATCH] clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped From: Stephen Boyd Cc: Sudeep Holla , Cristian Marussi , Michael Turquette , linux-clk@vger.kernel.org To: Sudeep Holla , linux-arm-kernel@lists.infradead.org Date: Wed, 18 Oct 2023 17:54:09 -0700 User-Agent: alot/0.10 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Sudeep Holla (2023-10-04 12:36:00) > Add the missing devm_kfree() when we skip the clocks with invalid or > missing information from the firmware. >=20 > Cc: Cristian Marussi > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-clk@vger.kernel.org > Fixes: 6d6a1d82eaef ("clk: add support for clocks provided by SCMI") > Signed-off-by: Sudeep Holla > --- Acked-by: Stephen Boyd