Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934137AbbDQOJ5 (ORCPT ); Fri, 17 Apr 2015 10:09:57 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:43706 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933349AbbDQNeY (ORCPT ); Fri, 17 Apr 2015 09:34:24 -0400 Date: Fri, 17 Apr 2015 14:31:49 +0100 From: Mark Brown To: weiyj_lk@163.com Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.de, dan.carpenter@oracle.com, pawel.piskorski@intel.com, yang.jie@intel.com, han.lu@intel.com, jarkko.nikula@linux.intel.com, Wei Yongjun , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Message-ID: <20150417133149.GD10513@sirena.org.uk> References: <1429191978-25839-1-git-send-email-weiyj_lk@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gE7i1rD7pdK0Ng3j" Content-Disposition: inline In-Reply-To: <1429191978-25839-1-git-send-email-weiyj_lk@163.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 92.40.249.81 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH -next] ASoC: Intel: sst_hsw: remove kfree for memory allocated with devm_kzalloc X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1283 Lines: 36 --gE7i1rD7pdK0Ng3j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2015 at 09:46:18PM +0800, weiyj_lk@163.com wrote: > From: Wei Yongjun >=20 > It's not necessary to free memory allocated with devm_kzalloc > and using kfree leads to a double free. Like Yao said a fix for this has already been applied. --gE7i1rD7pdK0Ng3j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVMQtFAAoJECTWi3JdVIfQ2BwH/3aYz9PyzaCoyuWIt9jNkqrL yAQvNTgrULtghihzhujhCbw1fiyRiw9FesQ7I45H+6nTp+r7tOYkd2Jv/T7qtSyV 0xdRl2q5WuMln3TWXW8nFJmNao7NgNJqXvQCCEx2TCZMI8bghUKY+Nje+H4q1HSM yCosZVW6UY2PnAuXLt/TgnOwRyp72MhxNYSHZUX9gxpwjKPLflk0AULuIfLtOcJZ rGYgmecVB9WC4gvXaPkBY6KHvk2XdfWThwXEpWyzMZ77sU8589fFid+0NfGPQZ+G y9ZIZGjPUV/gm3Oqxn+UpmHEpgwxlHrYEJSl7YG7R7PegrWAi+LkmGnBRuHPl/Q= =+gPO -----END PGP SIGNATURE----- --gE7i1rD7pdK0Ng3j-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/