[PATCH v4] Bluetooth: btusb: Fix typo and correct the log print

2021-02-03 Thread zjp734690220
From: Jupeng Zhong Change "deivice" to "device" Correct "Unsupported support hardware variant (%08x)" to "Unsupported hardware variant (%08x)" Signed-off-by: Jupeng Zhong --- v4: update bluetooth-next tree and regenerate the patch again v3: update bluetooth-next tree and regenerate the patch v

[PATCH v3] Bluetooth: btusb: Fix typo and correct the log print

2021-02-03 Thread zjp734690220
From: Jupeng Zhong Change "deivice" to "device" Correct "Unsupported support hardware variant (%08x)" to "Unsupported hardware variant (%08x)" Signed-off-by: Jupeng Zhong --- v3: update bluetooth-next tree and regenerate the patch v2: correct the log print and update the patch From: and Signed

[PATCH v3] Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv

2021-02-03 Thread zjp734690220
From: Jupeng Zhong In btusb_mtk_wmt_recv if skb_clone fails, the alocated memory should be free. Omit the labels "err_out" and "err_free_skb" in this function implementation so that the desired exception handling code convert usage of two labels to direct code specification. Fixes: a1c49c434e15

[PATCH v2] Bluetooth: btusb: Fix typo and correct the log print

2021-02-01 Thread zjp734690220
From: Jupeng Zhong Change "deivice" to "device" Correct "Unsupported support hardware variant (%08x)" to "Unsupported hardware variant (%08x)" Signed-off-by: Jupeng Zhong --- drivers/bluetooth/btusb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/bt

[PATCH] bluetooth: fix memory leak in btusb_mtk_wmt_recv

2021-01-28 Thread zjp734690220
From: zhongjupeng In btusb_mtk_wmt_recv if skb_clone fails, the alocated skb should be released. Signed-off-by: zhongjupeng --- drivers/bluetooth/btusb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index ffec6bc..

[PATCH] bluetooth: fix typo

2021-01-28 Thread zjp734690220
From: zhongjupeng change 'deivice' to 'device' Signed-off-by: zhongjupeng --- drivers/bluetooth/btusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 03b83aa..ffec6bc 100644 --- a/drivers/bluetooth/btusb.c +++ b/