Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp875086imj; Fri, 15 Feb 2019 08:13:26 -0800 (PST) X-Google-Smtp-Source: AHgI3IZHYtNBD1ba3oBlUb1Njlpto8R/n7V9TvXCri9P3YIWgzDjbBryYH9ZOS/Cjp8QIwT28fam X-Received: by 2002:aa7:8245:: with SMTP id e5mr10680208pfn.172.1550247206851; Fri, 15 Feb 2019 08:13:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550247206; cv=none; d=google.com; s=arc-20160816; b=pGhRMkolecxdQI3tBJVYHFo2Fcguai8qOE3iW9leE1Q5flrgi2/i20egqqhazfXQTm DtXzzLyvhtBxloLqtlht4Pcc1WJryEoj7m69UlHXoseVQGexJ6Oe/CXbgqpPsS1q8E1Z X8Se20NcJztf6ySWqkPC3WiLuKT1ERXOW8IQBAQ9HTkgHymZ/HWRKM/1qBotxjVaU3++ qjsoZGaWRZTn/uJQTsaUE3d1Xtejr8fyKmJaOlk1Xa51XvcEdEltBa8heF9/2sjPx/MS ojKZxxW3k3D3bNXqD6YVi1Z/ftzpT8deZhTVF3c/ORyjS1p46cNRIpGaLqFBqOnHO0Of uMNQ== 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:dkim-signature; bh=Ih7uVANR1oY6oTm5m0jELauFYkw9qJfHB5KAs2FsFh4=; b=ijEQFMev04xUrTha9NYbjfUYVpYWeLhsCKj/nITOS1JZVCJm+QNrC0OC4SrvRqQxqk aRGMc7hdFsVaugUs/A363BGuHDp9pKKRU1evKpAladUyDK7t8AOScPaoxbN1/SN3ecZe otqpW9I1RCyEHOHnGtVbuD7RCYjijcZTSuYvYB77NuKDy9Ch+C0F7Sjv+G6KKSybPCGQ 5d0dVjoHCD8QIfJU051LlnpApExFYWV8pAtGqFZfO7S2SCwvANBu3Adwo+qk2poAMrRH 0K+gFYDa9nm/bKUmrePdkcEvZzcVvNYH9w1B3RWi4xYy9HV4tNedl7HL912l8KlgN/qX e58g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=DUtnXEQw; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si5680150pgd.395.2019.02.15.08.13.10; Fri, 15 Feb 2019 08:13:26 -0800 (PST) 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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=DUtnXEQw; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394607AbfBOL6W (ORCPT + 99 others); Fri, 15 Feb 2019 06:58:22 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:35038 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733182AbfBOL6W (ORCPT ); Fri, 15 Feb 2019 06:58:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ih7uVANR1oY6oTm5m0jELauFYkw9qJfHB5KAs2FsFh4=; b=DUtnXEQwagouPJQSykuX197sW aOqrMjLzpMELvbnW9hV4nal8UYaI8CzB4X1eAjoxL0DiQusFpvO3GMFxm+7mt6pSRoWZH8GivjFso DszOYC1bQD2oQ2XTRcXvCR0DxsbkePivTR348TdT0Gz0zmpnZN7LUJFu5zR7oUvHE6BA8=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1guc8J-0006F9-B3; Fri, 15 Feb 2019 11:58:19 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id E2A9A1127748; Fri, 15 Feb 2019 11:58:18 +0000 (GMT) Date: Fri, 15 Feb 2019 11:58:18 +0000 From: Mark Brown To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Curtis Malainey Subject: Re: [PATCH AUTOSEL 4.20 16/77] ASoC: soc-core: fix init platform memory handling Message-ID: <20190215115818.GD7897@sirena.org.uk> References: <20190215020855.176727-1-sashal@kernel.org> <20190215020855.176727-16-sashal@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bajzpZikUji1w+G9" Content-Disposition: inline In-Reply-To: <20190215020855.176727-16-sashal@kernel.org> X-Cookie: Neutrinos have bad breadth. 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 --bajzpZikUji1w+G9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 14, 2019 at 09:07:54PM -0500, Sasha Levin wrote: > From: Curtis Malainey >=20 > [ Upstream commit 09ac6a817bd687e7f5dac00470262efdd72f9319 ] >=20 > snd_soc_init_platform initializes pointers to snd_soc_dai_link which is > statically allocated and it does this by devm_kzalloc. In the event of > an EPROBE_DEFER the memory will be freed and the pointers are left This is also part of the same set of issues. --bajzpZikUji1w+G9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlxmqVoACgkQJNaLcl1U h9BMHQf/a0tzXvjXUsHOBfiMPWD6MqcX3LMuAG1r7R7SkXQDwMeINh2RDjf4raVX /hR2D5jGbZVhE8IceaIDJSlFD3ojhbQTNZyFf38LPDcDLdRQM4uADPoGHtMMbVUh Sohk0A7B8wcuM8PONzrAvshfZDvWxcsHOPbWh1wLRqsH/pz5HyogH5lGfYDuV6V7 ivXV6yEqlZ4qPb722FCwvwUysRtA5wN/gF9+O8tPviFV1I7MOpjVkt65lHUcoc8D 6BLdRiwZusr1lcwcqAPkIrpOWBjKhtA4OnKB4J/rrwtS/o2tBg40M0YO09AM8FRo rftu/m+8AksFlk5CsLUZD0mqrMdn9g== =oIIs -----END PGP SIGNATURE----- --bajzpZikUji1w+G9--