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 20070ECAAA1 for ; Thu, 15 Sep 2022 07:15: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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=P6gHb9PVIj5/l0tcbxj3jDNc3xluDVGIOAU4/eSpiRE=; b=rd2KdqEVMcdKa1o0cE0sc1p/Ey ydfqnek95ts5zGJQT5yStZLmeYaJ/uSnM/ws8LH+bwH8N7e+OoiBMGmoLvim9LXDgAiLmEKj0O6Yp wZT9MFczkFpbgXNBBJjfbUVy2qgRu+4mF9NeosET4GEdJoC0164WHsS2ysQ+9RmrwO/eZxwvdWPiT kJZDe5G2A7bTh3Yk/G4etX4bAuf1dhkVlB8yGIW97vskBSNMOw/f6krFbjC87/MBYltDwYoMFTKAZ 3UjrAH2UoLoNwisaAFbuFrELS0vPxOaV/9GS8JE8N6yryvQ6nQUTso4aoUk/raZ7JFZ4T3lrhLngl 9c2USHbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYj5F-002YvV-Rr; Thu, 15 Sep 2022 07:14:49 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYj5D-002Ysz-Tu for linux-arm-kernel@lists.infradead.org; Thu, 15 Sep 2022 07:14:49 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CF7D462115; Thu, 15 Sep 2022 07:14:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53788C433D6; Thu, 15 Sep 2022 07:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663226086; bh=sP+mf27rpzQewNKmHATbFvxbwmIP1vT96/dnVf67BGE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HzbzvksJv084a0UrE6q/2aKgn4atqBzVeINSsND2hXnrUdHgyHprCEPup+L9FzJ7L C/1usAQH9GRzXklrt9P1GvwZolWpMeQXG/FKNyeq1aaYU0bNDH27OdA4GxVwh7EqH8 tpWnYxdnXc8TNtyIyl20nvZsX5RN+RYqVOcx0WqF6QLYOJYJFevevIDVnarpsEn5TA pB8WVvrRcwRV6Q9nW47mitfpggZ+3R+Ym+Fu2811EpCEqQ5RavSFRrOKRyTYt7iTN+ 4m1Bi3IWugs3Ju3nOFkWqQrVPdetyqRC9/1IJt0ntDufbH0Uqdcgz3KpZ7E0wqki4H 5xhRAFcZ5Q1+Q== Date: Thu, 15 Sep 2022 08:14:42 +0100 From: Wolfram Sang To: Lin Yujun Cc: a.zummo@towertech.it, alexandre.belloni@bootlin.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, akpm@linux-foundation.org, wim@iguana.be, linux-rtc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next v3] rtc: stmp3xxx: Add failure handling for stmp3xxx_wdt_register() Message-ID: Mail-Followup-To: Wolfram Sang , Lin Yujun , a.zummo@towertech.it, alexandre.belloni@bootlin.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, akpm@linux-foundation.org, wim@iguana.be, linux-rtc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220915065253.43668-1-linyujun809@huawei.com> MIME-Version: 1.0 In-Reply-To: <20220915065253.43668-1-linyujun809@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220915_001448_017731_27CA2E2F X-CRM114-Status: GOOD ( 12.37 ) 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: multipart/mixed; boundary="===============7161613119500468867==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7161613119500468867== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zY9MrxLdtodLpJSH" Content-Disposition: inline --zY9MrxLdtodLpJSH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 15, 2022 at 02:52:53PM +0800, Lin Yujun wrote: > Use platform_device_put() to free platform device before print > error message when platform_device_add() fails to run. >=20 > Fixes: 1a71fb84fda6 ("rtc: stmp3xxx: add wdt-accessor function") > Signed-off-by: Lin Yujun Reviewed-by: Wolfram Sang --zY9MrxLdtodLpJSH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmMi0N4ACgkQFA3kzBSg KbYPbw/9GACuotdUXQczt6AehOptdIothwIs3XpY86K9M6HD1roJOQWAj1kGSbW1 VnbIddLxCwMJbgISgy1imJlLM1b9L+aaFi4hwv7jtAx7SZNQDXEASW5jjQGLGODx /iv0rWdQfFdMJ+7v1ZSvLTLE8zuKCZjp/Q8Gb2t5GYEFhIoVHELnB7hHIO324IPd ZqJxY69c5Q4DPblzOsEolA8959y9cFY8RDBcDssP7YIvXXJyQPYUOFtv0tHHM38p ezZg+aoZu6QMiQsxQZ8vGom5ojws57ESBCFRtSP2R2W4e0JF6lbeY8e53VJqJrxE VpJxTxSEoBX+0+Unnj4HITienCObC4C/fiSRzxangICn8ItE+/U+42xYf3sVhlk9 /geNPmJj2iNYVrd9mI4uNoOMjsQMVxBUgLdV3WHtlwsuyvNbF4Td7awPJIGxYlTZ HtaO4EN6MPapP2VjF41Nkco6qcTzJmPa9b3cV+Z8kprD2Z9ApDbOovVNJ7QdrsAY 0fPGNEXu2q2ZkwoX8LKOiEqm8+ltIzOYXRIEJxNYvMXzx1TY8oALcQuqF3RfPlvC Yy+nLNoa3oTANMrXDTmu21q+n9UUaxFJ9gcTXn2hzu65i+Evqsiy7q0hrtdItCFf YJLw7JcXEvHXhfbw3XN60QCr88vi8yHZrScifnLO4znAcCi3ZYw= =OsHN -----END PGP SIGNATURE----- --zY9MrxLdtodLpJSH-- --===============7161613119500468867== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7161613119500468867==--