Skip to content

USB: serial: fix DMA buffers on stack and endianess bugs

Johan Hovold lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 2 repliesIn review
  2. v114 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13USB: ch341: replace printk warnings with dev_errdrivers/usb/serial/ch341.c+4 -40 replies
2/13USB: ch341: fix DMA buffer on stackdrivers/usb/serial/ch341.c+11 -30 replies
3/13USB: ch341: use get_unaligned_le16 in break_ctldrivers/usb/serial/ch341.c+2 -10 replies
4/13USB: cypress_m8: fix DMA buffer on stackdrivers/usb/serial/cypress_m8.c+17 -140 replies
5/13USB: cypress_m8: fix endianess bug and alignmentdrivers/usb/serial/cypress_m8.c+3 -20 replies
6/13USB: io_ti: fix DMA buffers on stackdrivers/usb/serial/io_ti.c+48 -180 replies
7/13USB: keyspan_pda: fix DMA buffers on stackdrivers/usb/serial/keyspan_pda.c+33 -120 replies
8/13USB: kl5kusb105: fix DMA buffers on stackdrivers/usb/serial/kl5kusb105.c+45 -180 replies
9/13USB: mos7720: fix DMA buffers on stack and clean up send_mos_cmddrivers/usb/serial/mos7720.c+17 -170 replies
10/13USB: mos7840: fix DMA buffers on stack and endianess bugsdrivers/usb/serial/mos7840.c+18 -40 replies
11/13USB: oti6858: fix DMA buffer on stackdrivers/usb/serial/oti6858.c+10 -30 replies
12/13USB: visor: fix DMA buffers on stackdrivers/usb/serial/visor.c+18 -80 replies
13/13USB: kobil_sct: clean up kobil_set_termiosdrivers/usb/serial/kobil_sct.c+4 -180 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH 00/13][v2] USB: serial: fix DMA buffers on stack and endianess bugs

Hi,

Here's an updated series rebased against rc2 with all patches from Greg's tree applied. The mct_u232 patch has been dropped as it had already been fixed. I also updated the ch341 and cypress_m8 patches to use the unaligned macros.

Johan

Johan Hovold (13):
USB: ch341: replace printk warnings with dev_err
USB: ch341: fix DMA buffer on stack
USB: ch341: use get_unaligned_le16 in break_ctl
USB: cypress_m8: fix DMA buffer on stack
USB: cypress_m8: fix endianess bug and alignment
USB: io_ti: fix DMA buffers on stack
USB: keyspan_pda: fix DMA buffers on stack
USB: kl5kusb105: fix DMA buffers on stack
USB: mos7720: fix DMA buffers on stack and clean up send_mos_cmd
USB: mos7840: fix DMA buffers on stack and endianess bugs
USB: oti6858: fix DMA buffer on stack
USB: visor: fix DMA buffers on stack
USB: kobil_sct: clean up kobil_set_termios

 drivers/usb/serial/ch341.c       |   25 ++++++++++----
 drivers/usb/serial/cypress_m8.c  |   36 +++++++++++---------
 drivers/usb/serial/io_ti.c       |   66 +++++++++++++++++++++++++++----------
 drivers/usb/serial/keyspan_pda.c |   45 +++++++++++++++++++-------
 drivers/usb/serial/kl5kusb105.c  |   63 ++++++++++++++++++++++++++----------
 drivers/usb/serial/kobil_sct.c   |   22 ++----------
 drivers/usb/serial/mos7720.c     |   34 ++++++++++----------
 drivers/usb/serial/mos7840.c     |   22 ++++++++++--
 drivers/usb/serial/oti6858.c     |   13 ++++++--
 drivers/usb/serial/visor.c       |   26 ++++++++++----
 10 files changed, 230 insertions(+), 122 deletions(-)