Re: [PATCH] Bluetooth: btusb: revert use of devm_kzalloc in btusb
From: patchwork-bot+bluetooth
Date: Mon Dec 15 2025 - 14:47:21 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Wed, 10 Dec 2025 11:02:28 -0500 you wrote:
> This reverts commit 98921dbd00c4e ("Bluetooth: Use devm_kzalloc in
> btusb.c file").
>
> In btusb_probe(), we use devm_kzalloc() to allocate the btusb data. This
> ties the lifetime of all the btusb data to the binding of a driver to
> one interface, INTF. In a driver that binds to other interfaces, ISOC
> and DIAG, this is an accident waiting to happen.
>
> [...]
Here is the summary with links:
- Bluetooth: btusb: revert use of devm_kzalloc in btusb
https://git.kernel.org/bluetooth/bluetooth-next/c/3a7cf69ce3cf
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html