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 CA624C48BF8 for ; Thu, 22 Feb 2024 04:52:08 +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=NWU7OD8qRk7IIUQKX4NIHM0siR1vyz/GsI//zVJVX+U=; b=0xftSWw8WZ/HZK S0kcsao4wbUSVzC8q6TGhQUkHEt8a1YKU/gIOtrf60Ui6I/80h9IEBDwn3KY5L6zlIs1lwsj11mmC 2rvuM8YZG6YKt/ALvVVoRPk7URwbYq3qakKiz7I3O4Om2dCJUdcNrD51RIeC1QdvggfxYxU7c6FDL JRcm38Tct6xo6rHX+LRr6JdStCFmEA/5J1Floq0u6+vtSJQDwvC4ysZFllu+eUr+jlZh1dV0IDmXj xwly4seUBatA/5WDFc46+MUBkvNlXFnfC8bH1pMvdlsT68Mw7asHfZ1fBoMSsqSHWuqVs35Mk0mQy 4MSy9clDzFp38qTVlvhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd13l-00000003Vuk-2PHg; Thu, 22 Feb 2024 04:51:49 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd13j-00000003VuK-2iDu; Thu, 22 Feb 2024 04:51:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id EBEE7616AE; Thu, 22 Feb 2024 04:51:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89818C433C7; Thu, 22 Feb 2024 04:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708577506; bh=Kqm4qtGh5X7VQ2ZIzlQV4yJvQ+ZhC2H7zx2PY73LdsA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=YcQqu2kNN29T3Z51lNh60xwqsX+awcPkZ/MZumOPOcqIigGS17IrY2Ti7kaSaG2Uk dkiSUP0r6hgqIEIE5tVlNPnxEwVQw9sLskiVekU+ERNuN6SomAfEunI9MSGpH8bXrT /CWtzElONcF7v+TunxLiH3nNyQdLwVieANCz8oY+anTozViOtQl/G7R+ax3h5Ec6XH OlivNVgikog5occyxMUlgBhaYf4GBQi66KEAqMiw+0jHAaqTzUWpvJBSLgS6FNHAiI KxOTAidH3G833mzG5HEVXCyPHyNPFSFx8DwtFN44rjc3d3BBtEojH9e5iZeJ/xiJqj F02ZZJsDMKdGQ== Message-ID: <17ab00b5cbf2b9aefa7ee99daf305f46.sboyd@kernel.org> MIME-Version: 1.0 In-Reply-To: <6cd6af61e5a91598068227f1f68cfcfde1507453.1704615011.git.christophe.jaillet@wanadoo.fr> References: <6cd6af61e5a91598068227f1f68cfcfde1507453.1704615011.git.christophe.jaillet@wanadoo.fr> Subject: Re: [PATCH] clk: mediatek: mt8135: Fix an error handling path in clk_mt8135_apmixed_probe() From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org To: AngeloGioacchino Del Regno , Chen-Yu Tsai , Christophe JAILLET , Matthias Brugger , Michael Turquette Date: Wed, 21 Feb 2024 20:51:44 -0800 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_205147_752645_81FFE760 X-CRM114-Status: UNSURE ( 6.19 ) 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 Christophe JAILLET (2024-01-07 00:12:17) > If an error occurs after mtk_alloc_clk_data(), mtk_free_clk_data() should > be called, as already done in the remove function. > > Fixes: 54b7026f011e ("clk: mediatek: mt8135-apmixedsys: Convert to platform_driver and module") > Signed-off-by: Christophe JAILLET > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel