Fix a bug detected by syzbot and another that I found while
investigating it.

1) staging: comedi: ni_usb6501: Fix use of uninitialized mutex
2) staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf

 drivers/staging/comedi/drivers/ni_usb6501.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Reply via email to