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 D1FE4C001B0 for ; Mon, 14 Aug 2023 15:15:05 +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=+LpkObqA3eJ+c72I2a+pHIiWVqwlXVrcm1SaFQg3iOQ=; b=V62WuasTVv8tldSjdsn2GWJ8KM CqGZkMc/GWBm8EdQqD4BYdheI6D/4uNzm/NreEwyENVI8APt5w0ZUDq9Ibr1uVuR1rnrwNarX/2eH jqx3BoklVg+e/PsVIUBGuTDBptPPyP6AO7sM6D13WSN5H47frRimISv4y81WHrbqJb4C+bue65Xpp oexsoQFT71/jfWDnuzPQkIMB962JtQfGRlLtDEKOKLurToVNnXRHQAaeCcQQweS6TtuKfHgHDs2ki frS6Sw/g8Hx+TNAgwt/+tvXFdZIzmU3wEZfs3tEzvVV9ACykMvgA2d2gFcadhQY8sQwydZmfr8BX/ rYpLmuSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVZHG-00HRCM-1F; Mon, 14 Aug 2023 15:14:42 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVZHC-00HRBw-1n for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 15:14:40 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C41D665613; Mon, 14 Aug 2023 15:14:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE040C433C8; Mon, 14 Aug 2023 15:14:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692026077; bh=PG6FtD1ip+pZiry2bEeVhermxO5kKOn73yucbpsIIp0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aVDJxDqL7+401wcZju/POHlqg9F9YqVMYGW5xd+DUPLFFjkDUSWm8Bi/xD1l9fYdn NB2Dt3dy2dq6v0I3Qy2zszNUqovD0H5xuP5OcrG/PFpzpFzteCK91W11xc1tApeZMN yJaeyrBZs855MlSQ9NJz9EjQsKIrB/N5Ml8Xj/tNPQK6/0txdSsMVk+GdIpGC3ZLKG LRj8js/aCi1jldCTxN8sfNsb1YrBvRLwKJuJvR99vmCxsaMnaSFi3F7yh7KVu7wN31 1U8aCP2m7SzxNPofg7eSTijvDvQ83ZXnUVXswS6ZNtLB8uBmh6o5qHL+uYkUqmtAxb k4UuK0TNa7caQ== Date: Mon, 14 Aug 2023 17:14:34 +0200 From: Wolfram Sang To: Andi Shyti Cc: pierre-yves.mordret@foss.st.com, alain.volmat@foss.st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, Ruan Jinjie Subject: Re: [PATCH -next] i2c: stm32: fix the return value handle for platform_get_irq() Message-ID: Mail-Followup-To: Wolfram Sang , Andi Shyti , pierre-yves.mordret@foss.st.com, alain.volmat@foss.st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, Ruan Jinjie References: <20230731112755.1943630-1-ruanjinjie@huawei.com> <169119887102.1781235.17733733758389845864.b4-ty@kernel.org> MIME-Version: 1.0 In-Reply-To: <169119887102.1781235.17733733758389845864.b4-ty@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_081439_799080_87303962 X-CRM114-Status: GOOD ( 14.05 ) 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="===============7911709526774079950==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7911709526774079950== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9JuskXm4Fm5kE6Gm" Content-Disposition: inline --9JuskXm4Fm5kE6Gm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 05, 2023 at 03:29:12AM +0200, Andi Shyti wrote: > Hi >=20 > On Mon, 31 Jul 2023 19:27:55 +0800, Ruan Jinjie wrote: > > There is no possible for platform_get_irq() to return 0, > > and the return value of platform_get_irq() is more sensible > > to show the error reason. > >=20 > >=20 Applied to for-next (via Andi's branch), thanks! --9JuskXm4Fm5kE6Gm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmTaRNoACgkQFA3kzBSg KbZxPg//cstfDoCoeK3xgIuYxr57m0cxTCegkyg7J6+tO9hhH/P4ato9olYv3PnU +lEPi5ajeqSVH66PUlh90WfJByukSOSFsavghRphoDd97G0FhPE6kEMwsNADJJt2 M8Bw/6IGhEgJNvP40ubaqiYHhijynPCO+NCZxAya8onaY0DXTBH7PztcL6IT3r+S Z8Dek67bQ+WyDsroN1ci9LVD7Dr3maoqZOqnRHUJfa6jyglM/KcX0DWpSAMjhbJ2 WLWqClq/UPC6ASylVZnE96mRpj9kby0D+moJQ/SNHisv0GMYGajYSF9yMT48Dk7u P4/9pusNYTEF8xVzyn57yFXCn19AvyCF95gBkB47uYyhw11FYoChCysUBqdo8P/m y6fcoQi/Kd0sqC2WxKIeDUwKllhfozgf3uZILRZwlAVduuGFbDNEUBYC2TYy7xbX N0GEUnW/AoQsDiiG5Shz/IzpURC4enEzo3xYJTyCfJ/AESHFSx0Fl0qxdQwShhYE j06+QPHVDIDihV9fyDBwXjVgZlm8dEYocXNR4UCHcmvqo/gL6Gx3XAA6JbxiTEWJ EbdV2ckFohH7s5/nPKHJ1NzC7Zl+7J78hBMM2mBgEXT8H37YJw7F+R0rGFebk3Il 7VcssKFMMHiEuZO5eqpV9Y60jku05aUn+uS8nT0iWzyyuAD8gf0= =ySOT -----END PGP SIGNATURE----- --9JuskXm4Fm5kE6Gm-- --===============7911709526774079950== 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 --===============7911709526774079950==--