Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp540452pxb; Thu, 30 Sep 2021 11:21:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyd4fUVTHedJkU74fhJ8WVAHnKEzhu6shU6D01SYew3/89/1ZwWo0kQcsB/fV/R22e7kci3 X-Received: by 2002:a63:185b:: with SMTP id 27mr6167886pgy.0.1633026117108; Thu, 30 Sep 2021 11:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633026117; cv=none; d=google.com; s=arc-20160816; b=KLhbWLAMv9LLIwpR3Gj6KpqiDQOeTwjEtEMpLXnU2j26e6x8t6PfdJy13ugefIzdS8 HP0pQ+clq39jnwdusa4Diq5cryV6Z2Jd2iNqqxdGdcoS5tQC/tp8RcFMJH2ZlhlbwhJ6 Hv18sXIIGMAnperkBq1FFdveFWQKv2e7pUGBxQe0tu6GSfk9YkPqoRxCxryBFxcetWov A0VUOmC968NlWJSWcSSJKBHzjaRuoBONZ7EVZvjZ6FbLlWpKSyn8XwNuWionCS4LEx/q phP5q2aUKmnIbBa6NYi5ctwlEVam+ByvUsEftCCGN7iQKPacqlj2g4j+rxMhUzCxt2fR 2cxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=enjVHhjyJZgjd0uz2ZMCGxCdBS+fmbNWBXj4KgCu+/g=; b=N7JrLckqUx7oWFFZh0GARAlIOOK8d2JiyQzjWuMh7T9dKFWmM1ycSsD0vH3CQJRWbD uV7TWeJuKmJJLpylswTRSPznF7jx/5aroAXAY5r6qGOJuDCiu7AKNNnlSEF1CTFbfOax mp/bM37B0wCEl8DP5MwVQTaWKNgvRqL6dYwjIIuRbv4u5x9ajVSvzJrBUB30Gw0bzlnN o6jx6Ya2R8CnrfSeB+0Yh7tsE0IwboBzRf92dpQjFOTDPPOesmHxTfyqHxNtGkXn2CO0 EyH77ioL1UbH3DogkZ7kbkBKljW9ZtUuVNuRNDY1S3LaZjDsj52yQfkq5NpgzLXcwnWt v59g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=Vq4frCFv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si4731635pgg.625.2021.09.30.11.21.42; Thu, 30 Sep 2021 11:21:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=Vq4frCFv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351753AbhI3Noo (ORCPT + 99 others); Thu, 30 Sep 2021 09:44:44 -0400 Received: from www.zeus03.de ([194.117.254.33]:57298 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351736AbhI3Non (ORCPT ); Thu, 30 Sep 2021 09:44:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=k1; bh=enjVHhjyJZgjd0uz2ZMCGxCdBS+f mbNWBXj4KgCu+/g=; b=Vq4frCFv5u/OJhnwA+2jw2Zo3C8qPCWnb8BlITwGu6W2 F3Ba0Jot9YgQactoV/1PgzGVxftoTEzEYX6eKWjWBrPZxkb5fNVjqntHammaEn/p 0WVvfEdoIOWiPs1K+noRZDFS67NKKd1xx2//p8fbxw95ZZwnEuWR6tyimZEMtTw= Received: (qmail 2095125 invoked from network); 30 Sep 2021 15:42:57 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 30 Sep 2021 15:42:57 +0200 X-UD-Smtp-Session: l3s3148p1@ZcTdnzbN1IQgARa4RV6LAWawlO8I9jL3 Date: Thu, 30 Sep 2021 15:42:57 +0200 From: Wolfram Sang To: Lad Prabhakar Cc: Krzysztof Kozlowski , Rob Herring , Geert Uytterhoeven , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Mark Brown , Philipp Zabel , Sergei Shtylyov , devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das Subject: Re: [PATCH 4/6] mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init() Message-ID: Mail-Followup-To: Wolfram Sang , Lad Prabhakar , Krzysztof Kozlowski , Rob Herring , Geert Uytterhoeven , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Mark Brown , Philipp Zabel , Sergei Shtylyov , devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das References: <20210928140721.8805-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210928140721.8805-5-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UH/3+F32BIFpPcH9" Content-Disposition: inline In-Reply-To: <20210928140721.8805-5-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --UH/3+F32BIFpPcH9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 28, 2021 at 03:07:19PM +0100, Lad Prabhakar wrote: > rpcif_sw_init() can fail so make sure we check the return value > of it and on error exit rpcif_hb_probe() callback with error code. >=20 > Fixes: 5de15b610f78 ("mtd: hyperbus: add Renesas RPC-IF driver") > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das Reviewed-by: Wolfram Sang --UH/3+F32BIFpPcH9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmFVvuEACgkQFA3kzBSg KbaFOhAAkhQT+eANrESXMUmHwDoBaEftQaOhPkUb8DlXOqKGq+DAjzW+JyzW0kSL ESmiEdv89aufX5RfHPtGhaMpg4zw77UD3K2Lorxq/0NhbpSsw1QQPLJQ7S7opXi+ 4YbfeFnCQHfDshSl4Z72qhYIK2+hX0UxGb+Rwc4cFo+VlfSf0kwY3Fou40hyfvuc 1QX32jsF4nIx8n0aRlChTwOkiDozSFhYsF6hyaHkujln6Tl3/XkhFJnVMx28Rx9D intGfPYb140kKY42sOSYyVIvU5NEOA20uptacBGyHjD08JMoUqngNFTrB9QSD7Qn UXyNSm8hCR2O4jXwqyaq+NkB38/KjGiA0KhqLe7VfIJF2kpIhD7A0byOuXeJN5NJ mzx8B1Je7st8S2+8tsB8+QXx4LhaxUwgOE6AuW4egwuh75VrXmKlOZpz7p7ScGga 51om9XkoqZKZ8y/OYjlLs0PTnILm3FSC3kMG13bJEaKh7xDXujRTMHYhCLAeR+kP cnxNI6KR8+t/y8WgTukfo7z8uaC29WJ83cE4Nyl549lub9Y6s0mJJPmIW19xVxzY 7kyjUj+BkBWsr96db+5f1hQJWxoJ55o7dhtmEscLa6Ka06uW5/fL6YLZQ3u0Cccs wshCtE1z4f40IvhH1w10UaNvmL4CXvI0tKQ6EgcoUQtp5p21m7M= =KpqM -----END PGP SIGNATURE----- --UH/3+F32BIFpPcH9--