Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966855AbdLSJA1 (ORCPT ); Tue, 19 Dec 2017 04:00:27 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:47152 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966800AbdLSJAC (ORCPT ); Tue, 19 Dec 2017 04:00:02 -0500 Date: Tue, 19 Dec 2017 09:59:50 +0100 From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mark Rutland , Rob Herring , linux-arm-kernel@lists.infradead.org, plaes@plaes.org, icenowy@aosc.io, Thomas Petazzoni , jernej.skrabec@siol.net, devicetree@vger.kernel.org, thierry.reding@gmail.com, stable@vger.kernel.org Subject: Re: [PATCH v4 05/15] drm/sun4i: Fix error path handling Message-ID: <20171219085950.domvcod2dyqdi3v3@flea.lan> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qo2r5u2xkd6kbbgp" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171208 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2011 Lines: 51 --qo2r5u2xkd6kbbgp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 07, 2017 at 04:58:50PM +0100, Maxime Ripard wrote: > The commit 4c7f16d14a33 ("drm/sun4i: Fix TCON clock and regmap > initialization sequence") moved a bunch of logic around, but forgot to > update the gotos after the introduction of the err_free_dotclock label. >=20 > It means that if we fail later that the one introduced in that commit, > we'll just to the old label which isn't free the clock we created. This > will result in a breakage as soon as someone tries to do something with > that clock, since its resources will have been long reclaimed. >=20 > Cc: > Fixes: 4c7f16d14a33 ("drm/sun4i: Fix TCON clock and regmap initialization= sequence") > Reviewed-by: Chen-Yu Tsai > Signed-off-by: Maxime Ripard Applied this one as a fix. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --qo2r5u2xkd6kbbgp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlo41QUACgkQ0rTAlCFN r3SYEw/8Clz+lWHHPnqE4HvxfoOj/9vflEUxAmONWRkvsMffwemIAQlZ845K4NkH 54HAyFh/xsm3++f95ALrmiTHBvYp1Jnl6CH0XeVr/b8NY3kLGdTFAPoWxZphewxZ e+pMPsMkpsyZsqJX5pz9nfgdYyULtg6XIZ0Edxr5ANlSSqa/oxTIuN6r0bXXSB/E Q/nUb8OaKTUxiH+LPtb4lQtWdTPFFv37qgYZSKYEGCxTomafOPI3L6gPJJu0SSqm cYgdcFK9E6Vvbdbvepz43jxuddXv+XcgDguqy5CkBO5ojQJCZIGaIiZlsf8ocwwl RvoU9D3pACGC6HwM9dbOEf7AoRdfHo6ZjJMhumZLRaO7TP7/qjlUqaUQZRTuWTJR wodqfZvDmhkroSMTFQEXyjB83eBUiBcw/j+fQGQXHX+rrnSUxN3DnClMS0YVKN+b kriqLj9ngzaV8uyk6hcj7qrM10rAUEKzMjRd7KnV7Hf9iIykKwiV1lcUxfgika78 IPXVKlYG1lbAnmtGPkr1B+M0wIXJAKR1gEYi5UktqP1BLq7G4falYTGX9yYWnHxH jDUMC3paNcUTzxSyLlKOCYYtLo42X8tnFUNmDqhU/9HVWKxGg4qJy+tFOFWYaUcO INjcwRVG0xj/w90h9/ISiYiCyBFhLxU0ZG+2EagqL/AREJ2lzIs= =AEqR -----END PGP SIGNATURE----- --qo2r5u2xkd6kbbgp--