Bluetooth: btintel_pcie: Allocate memory for driver private data
PATCH 1/1 Bluetooth: btintel_pcie: Allocate memory for driver private data
Fix driver not allocating memory for struct btintel_data which is used to store internal data.
Fixes 6e65a09f9275 ("Bluetooth: btintel_pcie: Add *setup* function to download firmware")
Signed-off-by Kiran K <[email protected]>
--- drivers/bluetooth/btintel_pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/btintel_pcie.c +1 -1
@@ -1224,7 +1224,7 @@ static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data)int err;struct hci_dev *hdev; - hdev =hci_alloc_dev (); + hdev =hci_alloc_dev_priv (sizeof (struct btintel_data ));if (!hdev)return -ENOMEM ;
Signature · 1 line
2.40.1
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Thu, 12 Sep 2024 16:21:00 +0530 you wrote:
Fix driver not allocating memory for struct
btintel_datawhich is used to store internal data.Fixes 6e65a09f9275 ("Bluetooth: btintel_pcie: Add *setup* function to download firmware")Signed-off-by Kiran K <[email protected]>--- drivers/bluetooth/btintel_pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [v1] Bluetooth: btintel_pcie: Allocate memory for driver private data
https://git.kernel.org/bluetooth/bluetooth-next/c/7ffaa2002518
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html