Re: [PATCH v2] Bluetooth: btbcm: fix missing of_node_put() in btbcm_get_board_name()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

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






[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux