All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] USB: serial: fix DMA buffers on stack and endianess bugs
@ 2009-12-28 22:01 Johan Hovold
  2009-12-28 22:01 ` [PATCH 01/14] USB: ch341: replace printk warnings with dev_err Johan Hovold
                   ` (29 more replies)
  0 siblings, 30 replies; 41+ messages in thread
From: Johan Hovold @ 2009-12-28 22:01 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel

Hi, 

These patches should address all remaining instances of DMA buffers on stack
(being passed to usb_control_msg) for the usb serial drivers. They also fix a
few endianess bugs I found along the way and do some minor clean up.

Note that I have not been able to test them on actual hardware, so please have
a go if you happen to have access to one of these devices.

Also note that these patches do not include the DMA-buffer-on-stack fix for
ftdi_sio i submitted a few days ago.

Cheers,
Johan


Johan Hovold (14):
  USB: ch341: replace printk warnings with dev_err
  USB: ch341: fix DMA buffer on stack
  USB: ch341: use le16_to_cpup to be explicit about endianess
  USB: cypress_m8: fix DMA buffer on stack
  USB: cypress_m8: fix endianess bug
  USB: io_ti: fix DMA buffers on stack
  USB: keyspan_pda: fix DMA buffers on stack
  USB: kl5kusb105: fix DMA buffers on stack
  USB: mct_u232: 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       |   24 +++++++++----
 drivers/usb/serial/cypress_m8.c  |   35 +++++++++++---------
 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/mct_u232.c    |   67 ++++++++++++++++++++++++++++++-------
 drivers/usb/serial/mos7720.c     |   34 +++++++++---------
 drivers/usb/serial/mos7840.c     |   22 ++++++++++--
 drivers/usb/serial/oti6858.c     |   13 ++++++--
 drivers/usb/serial/visor.c       |   26 ++++++++++----
 11 files changed, 282 insertions(+), 135 deletions(-)


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2010-01-16 12:45 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-28 22:01 [PATCH 00/14] USB: serial: fix DMA buffers on stack and endianess bugs Johan Hovold
2009-12-28 22:01 ` [PATCH 01/14] USB: ch341: replace printk warnings with dev_err Johan Hovold
2009-12-28 22:01 ` [PATCH 02/14] USB: ch341: fix DMA buffer on stack Johan Hovold
2009-12-28 22:01 ` [PATCH 03/14] USB: ch341: use le16_to_cpup to be explicit about endianess Johan Hovold
2009-12-28 22:01 ` [PATCH 04/14] USB: cypress_m8: fix DMA buffer on stack Johan Hovold
2009-12-28 22:01 ` [PATCH 05/14] USB: cypress_m8: fix endianess bug Johan Hovold
2009-12-28 22:01 ` [PATCH 06/14] USB: io_ti: fix DMA buffers on stack Johan Hovold
2009-12-28 22:01 ` [PATCH 07/14] USB: keyspan_pda: " Johan Hovold
2009-12-28 22:01 ` [PATCH 08/14] USB: kl5kusb105: " Johan Hovold
2009-12-28 22:01 ` [PATCH 09/14] USB: mct_u232: " Johan Hovold
2009-12-31 11:40   ` Johan Hovold
2010-01-15 18:43     ` Greg KH
2009-12-28 22:01 ` [PATCH 10/14] USB: mos7720: fix DMA buffers on stack and clean up send_mos_cmd Johan Hovold
2009-12-28 22:01 ` [PATCH 11/14] USB: mos7840: fix DMA buffers on stack and endianess bugs Johan Hovold
2009-12-28 22:01 ` [PATCH 12/14] USB: oti6858: fix DMA buffer on stack Johan Hovold
2009-12-28 22:46   ` Andres Salomon
2009-12-28 22:51     ` Andres Salomon
2009-12-28 22:01 ` [PATCH 13/14] USB: visor: fix DMA buffers " Johan Hovold
2009-12-28 22:01 ` [PATCH 14/14] USB: kobil_sct: clean up kobil_set_termios Johan Hovold
2009-12-30 16:06 ` [PATCH 00/14] USB: serial: fix DMA buffers on stack and endianess bugs Dan Carpenter
2009-12-30 17:33   ` Johan Hovold
2009-12-30 16:06 ` [patch] USB: serial: fix DMA buffers on stack for io_edgeport.c Dan Carpenter
2009-12-30 17:14   ` Johan Hovold
2009-12-30 17:50     ` Dan Carpenter
2009-12-31 15:42     ` [patch v2] " Dan Carpenter
2009-12-31 15:47 ` [PATCH 00/13][v2] USB: serial: fix DMA buffers on stack and endianess bugs Johan Hovold
2010-01-15 18:50   ` Greg KH
2010-01-16 12:45     ` Johan Hovold
2009-12-31 15:47 ` [PATCH 01/13] USB: ch341: replace printk warnings with dev_err Johan Hovold
2009-12-31 15:47 ` [PATCH 02/13] USB: ch341: fix DMA buffer on stack Johan Hovold
2009-12-31 15:47 ` [PATCH 03/13] USB: ch341: use get_unaligned_le16 in break_ctl Johan Hovold
2009-12-31 15:48 ` [PATCH 04/13] USB: cypress_m8: fix DMA buffer on stack Johan Hovold
2009-12-31 15:48 ` [PATCH 05/13] USB: cypress_m8: fix endianess bug and alignment Johan Hovold
2009-12-31 15:48 ` [PATCH 06/13] USB: io_ti: fix DMA buffers on stack Johan Hovold
2009-12-31 15:48 ` [PATCH 07/13] USB: keyspan_pda: " Johan Hovold
2009-12-31 15:48 ` [PATCH 08/13] USB: kl5kusb105: " Johan Hovold
2009-12-31 15:48 ` [PATCH 09/13] USB: mos7720: fix DMA buffers on stack and clean up send_mos_cmd Johan Hovold
2009-12-31 15:48 ` [PATCH 10/13] USB: mos7840: fix DMA buffers on stack and endianess bugs Johan Hovold
2009-12-31 15:48 ` [PATCH 11/13] USB: oti6858: fix DMA buffer on stack Johan Hovold
2009-12-31 15:48 ` [PATCH 12/13] USB: visor: fix DMA buffers " Johan Hovold
2009-12-31 15:48 ` [PATCH 13/13] USB: kobil_sct: clean up kobil_set_termios Johan Hovold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.