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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB082CDB47E for ; Thu, 19 Oct 2023 00:54:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NFnH7J+SxEr6oeIn4E8m1vrqTXXIrQ1t4cYIxOwEkeY=; b=O9306cbq9Hr94F Nuk6J9S4YteNeEll3F0rpaktwjjQEK2ry4Aecdlhgt61Z6ssr43jTblCAMRhKwyPFO1d+Jb9/ivll F2PQG1UoiHvIgws/8GCnzY+i94fnabz9O4piEGvWkt6cRtYPxKfPPgic3l3GpTxvz6DMLHqwuNFeM PKCxgybE+NB2+6xSBMpjWqANUCG2XdV0tN9RwvWktIUksWiVts2U1/gjTgotki4YleoLa9EojLUxW SMbuWcbB7I8O7NTcSovzY0IXgLOoNe84GktnP32Ft3LZtmTzSq6kPLuTah0lh+58aQaRdDFnVy+ff 5iez9YOKxzLDOBme6YIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtHIt-00G1L1-1R; Thu, 19 Oct 2023 00:54:23 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtHIo-00G1KU-35 for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2023 00:54:21 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 98C5161977; Thu, 19 Oct 2023 00:54:13 +0000 (UTC) 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> MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_175419_199054_8DB2E8C3 X-CRM114-Status: UNSURE ( 7.21 ) X-CRM114-Notice: Please train this message. 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 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. > > 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel