All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] comedi: misc fixes
@ 2021-10-27  9:35 Johan Hovold
  2021-10-27  9:35 ` [PATCH v2 1/2] comedi: ni_usb6501: fix NULL-deref in command paths Johan Hovold
  2021-10-27  9:35 ` [PATCH v2 2/2] comedi: dt9812: fix DMA buffers on stack Johan Hovold
  0 siblings, 2 replies; 5+ messages in thread
From: Johan Hovold @ 2021-10-27  9:35 UTC (permalink / raw)
  To: Ian Abbott, H Hartley Sweeten
  Cc: Greg Kroah-Hartman, linux-usb, linux-kernel, Johan Hovold

This series fixes a number of issues in the comedi drivers that were
found through inspection.

Johan

Changes in v2:
 - drop the three patches already applied
 - move max-packet check after the ni_usb6501 endpoint lookup
 - use a single transfer buffer for both TX and RX in dt9812 (suggested
   by Ian Abbott)


Johan Hovold (2):
  comedi: ni_usb6501: fix NULL-deref in command paths
  comedi: dt9812: fix DMA buffers on stack

 drivers/comedi/drivers/dt9812.c     | 115 +++++++++++++++++++++-------
 drivers/comedi/drivers/ni_usb6501.c |  10 +++
 2 files changed, 96 insertions(+), 29 deletions(-)

-- 
2.32.0


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

end of thread, other threads:[~2021-10-28  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27  9:35 [PATCH v2 0/2] comedi: misc fixes Johan Hovold
2021-10-27  9:35 ` [PATCH v2 1/2] comedi: ni_usb6501: fix NULL-deref in command paths Johan Hovold
2021-10-28  9:44   ` Ian Abbott
2021-10-27  9:35 ` [PATCH v2 2/2] comedi: dt9812: fix DMA buffers on stack Johan Hovold
2021-10-28  9:45   ` Ian Abbott

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.