Skip to content

USB: serial: buffer-callback clean ups

Johan Hovold linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6USB: serial: digi_acceleport: reduce chars_in_buffer over-reportingdrivers/usb/serial/digi_acceleport.c+1 -20 replies
2/6USB: serial: digi_acceleport: add chars_in_buffer lockingdrivers/usb/serial/digi_acceleport.c+11 -90 replies
3/6USB: serial: io_edgeport: drop buffer-callback sanity checksdrivers/usb/serial/io_edgeport.c+1 -260 replies
4/6USB: serial: mos7720: drop buffer-callback sanity checksdrivers/usb/serial/mos7720.c+2 -150 replies
5/6USB: serial: mos7840: drop buffer-callback return-value commentsdrivers/usb/serial/mos7840.c+0 -50 replies
6/6USB: serial: drop irq-flags initialisationsdrivers/usb/serial/digi_acceleport.c drivers/usb/serial/metro-usb.c drivers/usb/serial/quatech2.c+13 -140 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-Hartman
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

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/6] USB: serial: buffer-callback clean ups

This series clean up a few things related to the chars_in_buffer and write_room callbacks that were found during review of the recent conversion to have these callbacks return an unsigned int.

Johan

Johan Hovold (6):
USB: serial: digi_acceleport: reduce chars_in_buffer over-reporting
USB: serial: digi_acceleport: add chars_in_buffer locking
USB: serial: io_edgeport: drop buffer-callback sanity checks
USB: serial: mos7720: drop buffer-callback sanity checks
USB: serial: mos7840: drop buffer-callback return-value comments
USB: serial: drop irq-flags initialisations

 drivers/usb/serial/digi_acceleport.c | 34 ++++++++++++++--------------
 drivers/usb/serial/io_edgeport.c     | 27 +---------------------
 drivers/usb/serial/metro-usb.c       | 12 +++++-----
 drivers/usb/serial/mos7720.c         | 17 ++------------
 drivers/usb/serial/mos7840.c         |  5 ----
 drivers/usb/serial/quatech2.c        |  2 +-
 6 files changed, 27 insertions(+), 70 deletions(-)
Signature · 1 line
2.26.3