From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751381AbdAYG5p (ORCPT ); Wed, 25 Jan 2017 01:57:45 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33768 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbdAYG5n (ORCPT ); Wed, 25 Jan 2017 01:57:43 -0500 Date: Wed, 25 Jan 2017 07:57:39 +0100 From: Thierry Reding To: Christophe JAILLET Cc: swarren@wwwdotorg.org, gnurou@gmail.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] memory: tegra: Add a missing 'of_node_put()' call Message-ID: <20170125065739.GB13025@ulmo.ba.sec> References: <20170104071324.32721-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+pHx0qQiF2pBVqBT" Content-Disposition: inline In-Reply-To: <20170104071324.32721-1-christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 04, 2017 at 08:13:24AM +0100, Christophe JAILLET wrote: > If 'of_find_device_by_node()' fails, an 'of_node_put()' call is missing in > the error handling path. > Fix it by reordering the code. >=20 > While at it, remove some empty lines in a more or less similar constructi= on > a few lines below. >=20 > Signed-off-by: Christophe JAILLET > --- > drivers/memory/tegra/tegra124-emc.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) Applied, thanks. Thierry --+pHx0qQiF2pBVqBT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAliITGMACgkQ3SOs138+ s6HJ7g//Z03O7iVkxi6hETHYW26D2lMTwe7jtMMQueKCzm1POxlU7d6BctXNiXCG Y36zA2AyWdrhtNsApyAW/8/ggfnae7CTMUHHg6lRyN7tXiljFSX9C9CrRMUADhnV +yokZ4G+taSlkXUhIhLlKlq9Za2M6jyEDvCn2nR22OzeF51/9kvCMS2bxxZjAxAW UrewFE3vhDxvRxBW1Asq8on2gM++ChvtLjlODuxXnygLtl9bHtvB2Ui7h77sJFTo x3VPIyMQ3u+N7ASB3lR+vvg/4g40IapKqN/qbRkEp2X21DCpls5Gr/ShrTOSHWsl 6/YgWLr9Q0z9bfonx8v41LULYjPYeZXuVbvYuV5SDD/m0QujeXnKt5RCH9I5LWiO UKuYRnpM9kaizhnM9G3d5J5DuaJYooZS4ZOEaW3668qBafoFDtKuCnzEJJCpt5yH aCX4WUVz7zMgRP3ShCBGXn9OCT51VKH+ix3d2kbhoC+Gelq7C5teW1Zs8BnULcdx el+nipr3ZJOk8DAwLek8W1A+ufIkSorPqfX7+D5gQOhKQkO0tVLrUUYa54sRzGZ8 duPSw/Gu073DDORwWs8qzb9oST1dW+LT1f2JLR5FReradQkX1xPbap0zU7CHyEVA k0O1CWWkWecYYXyW1cBlEMYgSeeqSwN0NfvntFof4GTGtaSSDsM= =4zo7 -----END PGP SIGNATURE----- --+pHx0qQiF2pBVqBT--