From: Maxime Ripard Subject: Re: [PATCH] drm/sun4i: dsi: Fix unitialized variable warning Date: Fri, 8 Feb 2019 10:29:09 +0100 Message-ID: <20190208092909.mvki6sojxohmumeh@flea> References: <20190208090540.19626-1-maxime.ripard@bootlin.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1770878152==" Return-path: Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 876BF6ECCE for ; Fri, 8 Feb 2019 09:29:13 +0000 (UTC) In-Reply-To: <20190208090540.19626-1-maxime.ripard@bootlin.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Vetter , David Airlie Cc: Sean Paul , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1770878152== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vb7mkydpdm4heef5" Content-Disposition: inline --vb7mkydpdm4heef5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 08, 2019 at 10:05:40AM +0100, Maxime Ripard wrote: > Since the DPHY rework, one error path doesn't set the return error code > before jumping to its error label, which in turns make gcc (rightfully) > complain about the variable holding the error code being uninitialized. >=20 > Fix this. >=20 > Fixes: bb3b6fcb6849 ("sun6i: dsi: Convert to generic phy handling") > Signed-off-by: Maxime Ripard Applied with Daniel's Reviewed-by Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --vb7mkydpdm4heef5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXF1L5QAKCRDj7w1vZxhR xRHXAP96xVRMc7qD/7f8ARuoe7cI3Jt+mdtIB2kMU570TNssUgD/S93HZ8A20oWI YAycCuFiTC4/3w1U7d+KY448Ff97cQo= =7iQV -----END PGP SIGNATURE----- --vb7mkydpdm4heef5-- --===============1770878152== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1770878152==--