Skip to content

Bluetooth: fix short read errors in usb_control_msg()

Greg Kroah-Hartman linux-arm-kernel linux-bluetooth linux-mediatek lkml 1 version New

Get series with b4
b4 am [email protected] change-id 20260727-bt-ctrl-a37aca3ce4e1

Versions newest first

  1. v1 Latest3 patches 0 repliesNew 2 of 3 applied

Patches in v1 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3Bluetooth: btmtk: Fix short read errors in btmtk_usb_uhw_reg_read()drivers/bluetooth/btmtk.c+22 -280 repliesApplied
2/3Bluetooth: btmtk: Fix short read errors in btmtk_usb_reg_read()drivers/bluetooth/btmtk.c+15 -210 repliesApplied
3/3Bluetooth: btusb: Fix short read errors in btusb_qca_send_vendor_req()drivers/bluetooth/btusb.c+9 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Bluetooth: fix short read errors in usb_control_msg()

There are two drivers in the bluetooth stack that suffer from possible "short reads" when sending USB control messages. Fix that error up in them which allows the error handling to become even simpler.

---
Greg Kroah-Hartman (3):
Bluetooth: btmtk: Fix short read errors in btmtk_usb_uhw_reg_read()
Bluetooth: btmtk: Fix short read errors in btmtk_usb_reg_read()
Bluetooth: btusb: Fix short read errors in btusb_qca_send_vendor_req()

 drivers/bluetooth/btmtk.c | 86 ++++++++++++++++++++---------------------------
 drivers/bluetooth/btusb.c | 30 +++++------------
 2 files changed, 46 insertions(+), 70 deletions(-)

---
base-commit: f5098b6bae761e346ebcd9da7f95622c04733cff
change-id: 20260727-bt-ctrl-a37aca3ce4e1

Best regards,

Signature · 1 line
Greg Kroah-Hartman <[email protected]>