Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933385AbbDQNed (ORCPT ); Fri, 17 Apr 2015 09:34:33 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:43710 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933369AbbDQNe2 (ORCPT ); Fri, 17 Apr 2015 09:34:28 -0400 Date: Fri, 17 Apr 2015 14:32:57 +0100 From: Mark Brown To: weiyj_lk@163.com Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Jin Yao , Jarkko Nikula , Jie Yang , Andy Shevchenko , Wei Yongjun , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Message-ID: <20150417133257.GE10513@sirena.org.uk> References: <1429191989-25919-1-git-send-email-weiyj_lk@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PPYy/fEw/8QCHSq3" Content-Disposition: inline In-Reply-To: <1429191989-25919-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_byt: 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: 1245 Lines: 36 --PPYy/fEw/8QCHSq3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2015 at 09:46:29PM +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. Applied, thanks. --PPYy/fEw/8QCHSq3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVMQuIAAoJECTWi3JdVIfQzFIH/2EprM1KrXqRLNRRuL8n+uYG x0R2JULdfDxrAqomRG0C4uVF0kvYP8LNiGcsMoLpKH1XvsKw/d3lPGG+8YT2/OoO ZuPjAgyXXTkqi7JJQ8Vi+GBpXoYKKG6KuEA30TuLc7Z1lnv9rDpewkh2y8cMy7CM SMS94TERI4RHH5wxVMs85h9epPVcEG5Jcn5VuvnS0tYRBRy6LWEHWJlP/vsppgQ9 ueqVyLtfs0SKHZfQapCXlxGYNrZVxB7JRVcMESqbp/8WbNbcL0Wqn00RuxsxaMgu a6wMqEPVCNS7bBhpsYgNS5YJxisiO9B+nlmRTXY+tOz5quYbM2W4azgq4FDVPmw= =ow6y -----END PGP SIGNATURE----- --PPYy/fEw/8QCHSq3-- -- 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/