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