USB: serial: use wrappers for usb_control_msg()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 6 repliesIn review
- v26 patches 8 repliesSuperseded
- v115 patches 18 repliesSuperseded
Changes in v3 from the cover letter
- Rephrase commit messages
- Add notes on omitting the logs for short read sizes
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | USB: serial: ch314: use usb_control_msg_recv() and usb_control_msg_send()drivers/ | +24 | 4 replies | |
| 2/2 | USB: serial: cp210x: use usb_control_msg_recv() and usb_control_msg_send()drivers/ | +30 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] USB: serial: use wrappers for usb_control_msg()
There are many usages of usb_control_msg() that can instead use the new wrapper functions usb_contro_msg_send() & usb_control_msg_recv() for better error checks on short reads. The wrappers also handle the allocation of dma buffers and callers don't need to manage them explicitly.
This is a follow up on v2 with 6 patches. 4 of them are already applied so v3 only includes the two remaining patches. The patches are compile-tested only.
Changes in v3:
- Rephrase commit messages
- Add notes on omitting the logs for short read sizes
Changes in v2:
- Drop unnecessary use of wrappers
- Drop unrelated style changes
Himadri Pandya (2):
USB: serial: ch314: use usb_control_msg_recv() and
usb_control_msg_send()
USB: serial: cp210x: use usb_control_msg_recv() and
usb_control_msg_send()
drivers/usb/serial/ch341.c | 90 ++++++++---------------------- drivers/usb/serial/cp210x.c | 106 ++++++++++-------------------------- 2 files changed, 54 insertions(+), 142 deletions(-)
Signature · 1 line
2.17.1