From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CC1036403C for ; Fri, 9 Jan 2026 15:29:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767972574; cv=none; b=MxPHiyRxZnZcEZAngUV627Awo3rzb0okr/0LEeQSqAI69QnV5pC78qDQFUQ5wRC/8RXRa9W8KYCtS/XfMAZc2dXuu6DJgKE+CdU3hW0xhDEUiUdJUmv0iLcoVZXFbnHaKCi7d1nMzwyXbD6fff2nZwQovYbPXllt3/QPKwrUJBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767972574; c=relaxed/simple; bh=0H9d79n0cIYxE53R/0K3GTAfrjEHrLAyqfLrGTCtvKU=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=TXjcLU9NEveG6UQBCYLDDrbBZZVZHRwU+mQt34+Ou0oqdlWsXedSJJO6aa9Gc5v+3CpDjQUKNYwQY9sX4RbkUNwTsYNvEQO8g/qXEfeZMm+wLFfDueev5FDsNoEQb+u+T4S8JDXe0Mc2/6duFQeClfymM4dqCs2udFZT7dOUnr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=O3ucotwF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="O3ucotwF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77E88C2BCAF; Fri, 9 Jan 2026 15:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767972574; bh=0H9d79n0cIYxE53R/0K3GTAfrjEHrLAyqfLrGTCtvKU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=O3ucotwF5iTOTMaSNnoQKcTGaTBFEOkemuR088iC6ZkEhCkyzs6UnuuNWqDwuXidm vj3WroQ7iVSRpmfzkxXrTnIj+uPhHvpHQYzHcG2bb3GUccc0Uq5GzIxjKQo6tDs+Ao 853MjUGwqfw6VU8r7voWqq+BRWH46/Y126XHBiccuazjb2dZrcZ3Gu3YCMxWVeWOj3 sR6y+06gdHYuKZcPGRTuUJbNd46zj0ayR6mL5OROEPioBaGuRsYCOe5i56bJ47pbsa lVq9VP8ah6K4sPRIl1rvhHbUC6JXVuXMPzI+d0dpq+XNwxqDlx/Hn3tPySFsXXokN4 /RwD3fSFHK5dg== From: Mark Brown To: Kery Qi Cc: linux-kernel@vger.kernel.org In-Reply-To: <20260107154836.1521-2-qikeyu2017@gmail.com> References: <20260107154836.1521-2-qikeyu2017@gmail.com> Subject: Re: [PATCH] ASoC: davinci-evm: Fix reference leak in davinci_evm_probe Message-Id: <176797257322.63356.4907810860589912979.b4-ty@kernel.org> Date: Fri, 09 Jan 2026 15:29:33 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.15-dev-47773 On Wed, 07 Jan 2026 23:48:37 +0800, Kery Qi wrote: > The davinci_evm_probe() function calls of_parse_phandle() to acquire > device nodes for "ti,audio-codec" and "ti,mcasp-controller". These > functions return device nodes with incremented reference counts. > > However, in several error paths (e.g., when the second of_parse_phandle(), > snd_soc_of_parse_card_name(), or devm_snd_soc_register_card() fails), > the function returns directly without releasing the acquired nodes, > leading to reference leaks. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: davinci-evm: Fix reference leak in davinci_evm_probe commit: 5b577d214fcc109707bcb77b4ae72a31cfd86798 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