Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751348AbdCQOCC (ORCPT ); Fri, 17 Mar 2017 10:02:02 -0400 Received: from mout.gmx.net ([212.227.17.21]:60465 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751035AbdCQOCA (ORCPT ); Fri, 17 Mar 2017 10:02:00 -0400 Date: Fri, 17 Mar 2017 15:01:52 +0100 From: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= To: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , linux-soc@vger.kernel.org, Andy Gross , David Brown , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] soc: qcom: smsm: Handle probe deferral Message-ID: <20170317140152.wj47b2bw2z3sk6nv@latitude> References: <20170315114357.14446-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="he64nlwaxuncwzwl" Content-Disposition: inline In-Reply-To: <20170315114357.14446-1-j.neuschaefer@gmx.net> User-Agent: NeoMutt/20170113 (1.7.2) X-Provags-ID: V03:K0:2gfwBp3k6/icvPP8ZxEX/N+G/OtnrxTDzwVdXBSn8f2/dPi0Rm2 1izLVgD6tEbs+tLf776Lhj8n2//1ClCyJ34Mb9ffF1ojAhZPVm7+P9E2njDi0oROBlGX/3B y7NY4hi8C/d5td5pPCW0po22Tgs9BAzO/uruFugZbW7Xcmokb8yBs4xik/kOgNzAnwkxqZZ M5fW5uwHUEdXinDH0qWeg== X-UI-Out-Filterresults: notjunk:1;V01:K0:TfprAWdUwqg=:45DnwIrlWAO2s66sbQnE28 wXJkNxNxREU1j7UK4YGjfiVy+lPdT3GETz2u6TocJ5J9w5qaD5TCBNlb9VKjbn7Ge/7qaY+/r LWomnRLZyLMJDxBq+p7PEnsngf8swYdR91ELheJoEUbbVdO6LbOMzlp1u5kQ/r0gLFLewqyIc x+41FEpPOreP2o4q5i3POGNOKh6UGyD5uDWystah5ctf6gAmaoPDm1DRt5FJzq9Vuj9vBuKfT wrx/Xf7OQlMjOqtaMyV9cnNJyFw/reAwH3ORpcOFd95ZlljxMxx9OVtbXsN324LoQvRZiqqpw qHrgI3ti2P3arWZ2CqiZ+GD0CzU3OEF3LuZkkpPmwoWbeiNKqCtZJcH92hs61NW1LyWc/ZDC/ VhkGK5siYKyIktEK+EdnBmIlO9kZJ6dBOZHxxFANbZwAJdqdULLhrwuMxXV3pSd/Cru5+MPUY bCxU0XVOJcE+AAjAYPmS7Lc5dDkF8GhZ8s8Oapv1qCI1PHkd0zsPc2S2i4aj4OMYw0ZmaM8cj 9O366kKPH6Ql0tOLoyGcpcND2PLANhVWOBSiI87+jNtjZgyplRHxVhPBCi1UFwhDRCYKqFd+b eIpUJYXu3IlIEFFC9QsB/b689dWRmifE6lriVgGXyGf7KtzZFOw14LeoG0qP8bOK6EQ5Sroyy 6i9s2KMTYG+UNJ8222zt9AZy6cSBjrVOpIhnccso8xl3ezGagwpygQys4hZfgIBk0Br+C64Yn i6u3CbVjtDNpiJHeZHqLanX95g54BnrgnqCb006ppkVXhgGJKKPnMTpZLAU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1513 Lines: 41 --he64nlwaxuncwzwl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 15, 2017 at 12:43:56PM +0100, Jonathan Neusch=C3=A4fer wrote: [...] > - TODO: Reading qcom_smsm_probe, I noticed memory leaks in error paths: > smsm, smsm->entries, etc. are allocated (with devm_kzalloc), but not > freed when the function returns early. This should be addressed at > some point (in a separate patch). This is not actually true (see Documentation/driver-model/devres.txt). Sorry for the noise. Jonathan Neusch=C3=A4fer --he64nlwaxuncwzwl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJYy+xJAAoJEAgwRJqO81/bFuAQAIfQKSt+dja6ygZHwM8FMDJy d3BHKMR+p2kmE1DVWFE/1sFQZI7lr4RwQt6aV9Mo/5aMAYor4MBPtXHquIzB0npY 78yy8i2CXoSZz0kuQaGd6X4I8GxegKww16vBLy/8B00Wuwjk+xBWjxAuk1KCCv7/ u3inX57Kl9ZWorXgriZLzoZ9xutxdqsDkbMLFUZNff6rX67il9P3z3tWskSf5tmf un7hyw7QnBTOyGsZ1/9i+uq4NA4sEmWcavosyxi1D26rKGdGEI4XMk3C+gQ+lE/8 UellJDHGpbiLaTe+sygLo7+nUemiC+EI08flIiE8fBcOhXHx13pfV0XmmDnIjRAj gtuI8ULfc1/xIkyjisbYrsaA8Xp426zNGYonsT5AH7PPmOc/Fv2ZEBxo05Z4QhaW snCRG4G5HHimWMeWucIzSsjuAE+FaglcgA7DODHr0yvRTtXYaHEqjY0KBf54C8X+ YxNTKWkgrbgQOeKxhG5/UIpCyIJ6HXIdu+PZqRqs9u/RjTuFaiBMRAIHcEfUPDU3 u0Xo+GlXo9vHcyRcLkYSp2cghII0W2pLjvhKcHRjiM+yJVzX/6/WkF/mdNgxlhJh dfhSV+NxG+YW11bETaSmLqEXMCVRD5pMeEp7E4Hj3IMMwdYyU9VcuVR251EpWOGA 7PbdmsGkQ20zLGXkntvQ =bj0C -----END PGP SIGNATURE----- --he64nlwaxuncwzwl--