Skip to content

USB: serial: ir-usb fixes and cleanups

Johan Hovold linux-usb stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5USB: serial: ir-usb: add missing endpoint sanity checkdrivers/usb/serial/ir-usb.c+3 -01 reply
2/5USB: serial: ir-usb: fix link-speed handlingdrivers/usb/serial/ir-usb.c include/linux/usb/irda.h+22 -112 replies
3/5USB: serial: ir-usb: fix IrLAP framingdrivers/usb/serial/ir-usb.c+91 -222 replies
4/5USB: serial: ir-usb: make set_termios synchronousdrivers/usb/serial/ir-usb.c+11 -391 reply
5/5USB: serial: ir-usb: simplify endpoint checkdrivers/usb/serial/ir-usb.c+2 -31 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] USB: serial: ir-usb fixes and cleanups

This series fixes a possible NULL-pointer dereference due to a missing endpoint sanity check, as well as two long-standing regressions in the ir-usb driver.

The last two patches clean up the set_termios() and switches to rely on the relatively new feature to let USB serial core to verify the required endpoints.

Johan

Johan Hovold (5):
USB: serial: ir-usb: add missing endpoint sanity check
USB: serial: ir-usb: fix link-speed handling
USB: serial: ir-usb: fix IrLAP framing
USB: serial: ir-usb: make set_termios synchronous
USB: serial: ir-usb: simplify endpoint check

 drivers/usb/serial/ir-usb.c | 185 ++++++++++++++++++++++--------------
 include/linux/usb/irda.h    |  13 ++-
 2 files changed, 126 insertions(+), 72 deletions(-)
Signature · 1 line
2.24.1