Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD0B7C43334 for ; Tue, 7 Jun 2022 10:50:04 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1AC151920; Tue, 7 Jun 2022 12:49:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1AC151920 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1654599003; bh=rDaQ/Y3jfWu1H3Cy/83eSHNsodbTFoBuSmzrNWGOWQs=; h=From:To:In-Reply-To:References:Subject:Date:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=fGZXI1tkAXWBR/o5Xz0vOzlcIRy2V90sGnMWp89GUgUv40eXNI8henek6Q6Xy8dZ5 EnCNnPeBrOAT59qjrE4R5B1Ic/cccDrdLDh/7uJDKjuWj5om9jpIeXm3XwCx88re/x zizNT+MZYzPy2JGq5wpCs7Bvjaeqcrsm/lOEjYkA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8C9EFF8059F; Tue, 7 Jun 2022 12:45:58 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 37B34F805A8; Tue, 7 Jun 2022 12:45:57 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E1ADFF8059F; Tue, 7 Jun 2022 12:45:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E1ADFF8059F Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="H7zET4PR" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A9AA16152A; Tue, 7 Jun 2022 10:45:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6FCCC34119; Tue, 7 Jun 2022 10:45:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654598752; bh=rDaQ/Y3jfWu1H3Cy/83eSHNsodbTFoBuSmzrNWGOWQs=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=H7zET4PR1e8M7DIIGnHwCBPE1qlTjKd1CkGbrfof+gcN/Rb7HqNrEvuEWyejZSHEe 709jmODZ9Pzwwm5Npm6Ai9bNowqeG5HOcFB6xOOk+rUvr8obvc37+A74GVApGT3fYc R4kzmYm7Uf4h9RBk6yRHbpPaM/tqi7DifUCFSj9xs9dh+Kv1SnX/3iS4QVRgTNdSHG Rjy3YugAgiUKjnTqIq4/j8m1/DBu20WgYKihoDNEA+CcYVGDKZOyN++Yh8Tw8BHUvi etr66Foq4oGkQlIMiQaVTS0f2bpiOmhHbJc6Xp98cLbpe71HlNqS6uJQ48RV9e/eSt kJJSryXd+uJCQ== From: Mark Brown To: amadeuszx.slawinski@linux.intel.com, pierre-louis.bossart@linux.intel.com In-Reply-To: <20220602135757.3335351-1-amadeuszx.slawinski@linux.intel.com> References: <20220602135757.3335351-1-amadeuszx.slawinski@linux.intel.com> Subject: Re: [PATCH] ASoC: SOF: Fix potential NULL pointer dereference Message-Id: <165459875046.301808.2650890872025754338.b4-ty@kernel.org> Date: Tue, 07 Jun 2022 11:45:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Cc: alsa-devel@alsa-project.org, kai.vehmanen@linux.intel.com, Liam Girdwood , Takashi Iwai , ranjani.sridharan@linux.intel.com, daniel.baluta@nxp.com, sound-open-firmware@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, 2 Jun 2022 15:57:57 +0200, Amadeusz Sławiński wrote: > Cleanup path for sof_prepare_widgets_in_path() should check if unprepare > callback exists before calling it, instead it checks if it does not > exist. Fix the check. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SOF: Fix potential NULL pointer dereference commit: 2fe08216fda33bbc1f80133b8fd560ffd094b987 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark