[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173039223552.2016510.7048692457778826183.git-patchwork-notify@kernel.org>
Date: Thu, 31 Oct 2024 16:30:35 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: marcel@...tmann.org, luiz.dentz@...il.com, linus.walleij@...aro.org,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] Bluetooth: btbcm: fix missing of_node_put() in
btbcm_get_board_name()
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Thu, 31 Oct 2024 13:11:23 +0100 you wrote:
> of_find_node_by_path() returns a pointer to a device_node with its
> refcount incremented, and a call to of_node_put() is required to
> decrement the refcount again and avoid leaking the resource.
>
> If 'of_property_read_string_index(root, "compatible", 0, &tmp)' fails,
> the function returns without calling of_node_put(root) before doing so.
>
> [...]
Here is the summary with links:
- [v2] Bluetooth: btbcm: fix missing of_node_put() in btbcm_get_board_name()
https://git.kernel.org/bluetooth/bluetooth-next/c/6ef8bb9d0bd6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists