Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1314086yba; Sat, 6 Apr 2019 09:00:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoWxySkdzljv6OBlpthY5e7QwjWtkGLS8Lmw7ygJhpxfGZH9EhJIvnLFaENFZywpchV1s3 X-Received: by 2002:a17:902:bd92:: with SMTP id q18mr19819911pls.136.1554566457935; Sat, 06 Apr 2019 09:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554566457; cv=none; d=google.com; s=arc-20160816; b=Rqbid/r+HENGfRxordZnjHiXAidrhGy8jIE1V9IeoQGiU0ZOO2dpQcaXfCRfQQmdnZ cYDAKSm/5A+3RbILKSxuaRzT70vYmrEkWRWpvVbOmlhhOumOM+Tu6g+DmgLm+x45Ckrj utYCu7VVkN7u0/YklBSbhb6KfmbK8fLQQ2zVhDlWjgVaY2/bZYxzPa+XsFABCHlWAk7k zpuJyPgRWg/BrkCoStjzYz0VeMxoQbZug+rCOPcg4pWAXfGc3LOnvVXK2KqZjb5CFH2w CEd/MF9ZInC6x1TktxDtXMZk53plImNnQsaHxLM65+JY0AU+rjmTKaZyos5kwh4j6fZb /lEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pUiY3YZ7HJCXG6WvHJY0wEO/fsYATXbxv00rdZP3shc=; b=Z3h8sXmAb6h8Y9WKUqiO3o+zdow+qlFY5DBF9QdrP0bCBk5Djpr4/sGg8FJHOf64J6 UUCIDyf3/J0aT56c8Sgp0BI0IOe8F29zFlXzy6cRUvspdJKH6FZZ53N0Q7tFNqojCKtk 7afgo6G74DNU/x4m0f8Wf9EXKsgiwjvSkDVSSbj4Ydbf4QybR7N8bAB4L1igs1q/5IsG ZQfW98b9uPNaS88kmJaugtVMSxg66on+dUn5gvTaKeaJ55AAhB6lQhXv6AD3eYToOSn8 MUCJpBw8JXntrEdsPT5tnk8Gld5fQRSrRWYb5uXPUG10jpep36Tqokzg7hE0/wAw+URl s6RQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si22148995pgj.138.2019.04.06.09.00.42; Sat, 06 Apr 2019 09:00:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726512AbfDFP6r (ORCPT + 99 others); Sat, 6 Apr 2019 11:58:47 -0400 Received: from sauhun.de ([88.99.104.3]:47252 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbfDFP6r (ORCPT ); Sat, 6 Apr 2019 11:58:47 -0400 Received: from localhost (p5486CDB5.dip0.t-ipconnect.de [84.134.205.181]) by pokefinder.org (Postfix) with ESMTPSA id 164182C088A; Sat, 6 Apr 2019 17:58:44 +0200 (CEST) Date: Sat, 6 Apr 2019 17:58:43 +0200 From: Wolfram Sang To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: laurentiu.tudor@nxp.com, mojha@codeaurora.org, linux-i2c@vger.kernel.org, wsa+renesas@sang-engineering.com, linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com Subject: Re: [PATCH v2] i2c: imx: don't leak the i2c adapter on error Message-ID: <20190406155843.GB5253@kunai> References: <20190401101437.9626-1-laurentiu.tudor@nxp.com> <20190403204756.mbc7zc5klfd5zydg@ninjato> <20190406154847.gknmrvjzebih3tu5@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bCsyhTFzCvuiizWE" Content-Disposition: inline In-Reply-To: <20190406154847.gknmrvjzebih3tu5@pengutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 06, 2019 at 05:48:47PM +0200, Uwe Kleine-K=C3=B6nig wrote: > Hey Wolfram, >=20 > On Wed, Apr 03, 2019 at 10:47:56PM +0200, Wolfram Sang wrote: > > On Mon, Apr 01, 2019 at 01:14:37PM +0300, laurentiu.tudor@nxp.com wrote: > > > From: Laurentiu Tudor > > >=20 > > > Make sure to free the i2c adapter on the error exit path. > > >=20 > > > Signed-off-by: Laurentiu Tudor > > > Reviewed-by: Mukesh Ojha > > > Reviewed-by: Uwe Kleine-Konig > > > Fixes: e1ab9a468e3b ("i2c: imx: improve the error handling in i2c_imx= _dma_request()") > >=20 > > Applied to for-current, thanks! >=20 > Is your tree already stable? If not, would you mind correcting my name > in 9b0a9982d8b465e0394db10f15ba53f1a8d60e21? It is stable, but I created an i2c/for-current-fixed branch just for you :) --bCsyhTFzCvuiizWE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlyozLMACgkQFA3kzBSg KbZpnBAAiyy4ergFBvA8t/lhwyYjpDrQnuf84gaCeWEbz3SIV1QSVr5ImsVLVWqe zDaC8cWMlKreGg8zUolF/JlePUMP1dxBdd8uiquWuoG5j9mwVByEnBDPTewP44zH dWGWAVPr+WmWBznPj0vHodnfnIaP6ozTb5/nfmW6z2l5t4y2CBdlRgElk4PRcryt Qy/uJJGlQau8cFgjdqRoay4zH9B8am5Okb5ns7TrUk9sUGaq7C2R3JDobfdtSnFY 04v4hZ/qtjh3PMiHm/c6z0HG7rWwO99WUlKdaGXPbn+nDRsgGFsC5YCLxHQt9oo7 PHMf31015j6UKDG7SghuHrEcQXUfHZCLUtJWPpkmNLxjBuzYGoX/fgZmv+XYguBh H7kRP9DRNmUaLyvsbRfw0tYaZCztsy5AVfLhGTcQ2LQJq5srMVkQ900XCFrTDRhY Yy/2Pb/xopfxTxqr2ttzu+C163N1ynSRX3aEq3x2yxXOIvH2/jVYUETWneX9epzM Wbo234OcCbFUaldcOssxhuI5DJ9zdMTljbI9xXJ065wrlCBiYoI187LjURzISlhO ozLIP0rnehCHZ5MesH47VSHBGuvuRfNP9Svz9D3rKS8fHlBPUZkPcaWxjt/MMLGh B8No23fFTKDsFmgn+tZYRuqWOltsWBg1OoR4NZAO7FR45JBxXGU= =AMMw -----END PGP SIGNATURE----- --bCsyhTFzCvuiizWE--