Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1440791pxu; Sat, 12 Dec 2020 12:58:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwd5Y5MaSPm4QlCo3ufvNQDoOtRDkglExej1pDl4/Z+h0GOHxT/0ppGt3xCncsyTRnVTFpx X-Received: by 2002:a17:907:6e9:: with SMTP id yh9mr16395437ejb.131.1607806709050; Sat, 12 Dec 2020 12:58:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607806709; cv=none; d=google.com; s=arc-20160816; b=txpw2cthQYyR+N8ux5zjDpMSX3iq8LUr+BefL7Z983scW4SbH2EVRWKAEVQ6Ed3soM 9q2AHAtGf2ysSpueRyXxRJJGptSmoHDpW5PWEwUI3XzQHRrzhIlxX2BmnhPklkze/3hc vcuJEoj8SR+o30SMFVyI/RDEflaUEC2/Cs5iOY1OSF9sQCynffUUs38FTD5qGReW9Fxk szM0oJ9VMRH4KJetpAGByadQei2jxNLglgyBORpfCcV/7XC1freKo919ApYtniDD26uq aXjYiQy0ur6lM/jEG0UMw/UWWiacHkIKQjU55S2SyyaoGBwYIvq6CXHKViedj3e7yKzi uaHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from :dkim-signature:date; bh=qH1Ux0MvvhUhaeBDNerruLdOmD1vPgXIukSzrHIid7k=; b=R6zJt7m3NJKrzuN2YRM/PDImiOwxgSPcwPucVtfoLFaJJ/DzxnlQXwnTvyMDIYKu+b 4EOTZ8WHMLy3a0UjwffOPU5e2JwC5ntK7+OizS3rDwxl1dxj212Ihh3jxjRPVYKP1zDi y/1RlTxCoct5nAjUsh4esovGMQqCjbbZOhbmwRPjcin9juKH75P3zUU24Qr7PRA3ShB/ oVSeZOsOnI/tQjZXtiRXAnHPk8fwSfTEaShPQDjuyNJahYqU2gm5HhEuVdNvXn7xMQml Sq0SnNgrDXF5EPek1+B5pKy5GUQscJmgx0w0VNi131HSKsBIaqMZbKLTo5geSZRWB5ji qyfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aeTm2w7J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rh9si7696374ejb.507.2020.12.12.12.58.04; Sat, 12 Dec 2020 12:58:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aeTm2w7J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392132AbgLKROW (ORCPT + 99 others); Fri, 11 Dec 2020 12:14:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:46260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393817AbgLKRNx (ORCPT ); Fri, 11 Dec 2020 12:13:53 -0500 Date: Fri, 11 Dec 2020 17:13:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607706792; bh=F5Kv0EXSh42CiQPNz++tgaA25ukosSBxIT5Ldln1VW0=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=aeTm2w7JomXu7/zgHHiMeR4oCW71Aq6UxyutXI8Thdi556rSRJ5CyYkaTu7CXjOFO LsVO9tEWQ+fCdApLj4ciVqdOdON91FuoYJDAYFH2+nbVVWQnHvrcWGF68Rb1LVJg/v vb36vlRjQBQhk5A+NUHF+DmeJzThdzkuerm5hSGOgHtP8F2W2R3hHLSHAH9nM3ZzP5 wpBGuvxgZkl/VJpqk+EpU1+hGfR7Qgca0Udlu4sdXwGDLlUGiTG8RPAhXE6ZUKJFvv /9QWNsCkuK2BTFTDQSw0SqXtTcqGb9TKwOV+97GU1qci41swM7AIE4TzInvO08Ja4s tLUPJwLY4SZzw== From: Mark Brown To: Ricardo Ribalda Cc: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Jaroslav Kysela , Takashi Iwai , Mateusz Gorski , Andy Shevchenko , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete Message-ID: <20201211171305.GG4929@sirena.org.uk> References: <20201211170629.871085-1-ribalda@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="df+09Je9rNq3P+GE" Content-Disposition: inline In-Reply-To: <20201211170629.871085-1-ribalda@chromium.org> X-Cookie: Nostalgia isn't what it used to be. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --df+09Je9rNq3P+GE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 11, 2020 at 06:06:29PM +0100, Ricardo Ribalda wrote: > If dobj->control is not initialized we end up in an OOPs during > skl_tplg_complete: > for (i = 0; i < se->items; i++) { > - struct snd_ctl_elem_value val; > + struct snd_ctl_elem_value val = {}; This bit looks like a separate fix? --df+09Je9rNq3P+GE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/TqKAACgkQJNaLcl1U h9BQeAf+OFcaJQh4d/Gjojcw4mPYxpP3Kwf7I4v7LvLnqMTDdaE1mdliR1JM+2YF P+dKGxT1sP9q8FpsjAIDl20dRdGHa/yMdJcIGs8CZj9uEBxMuUu2OZVlHnTZ5kzS tNxszxGAuQop+kJRlENIQ19TsOGpmgMYlllysVFyHGg6ZYi/yQA9ugqqjwoMlSg6 9A9leB+N1XfdvD6SqOFx904JpWoAh2XgD9W4CbjogSSg+lqroPBl2cQGaOkvhzOY /jiYg7pVDqss0Hw6PHHLLBUqnzdfrd+G8XerW9ZK8PXcAroXfBYA9KlV+4UT14Fo MPH2vmMrMbj488G0uYfsB3RYMQA5iw== =DfZj -----END PGP SIGNATURE----- --df+09Je9rNq3P+GE--