usb_bulk_msg return value -8
I'm writing a USB kernel driver and for some of the bulk transfers, I'm using the following function.
Code:
#include <linux/usb.h> Quote:
Any ideas on what this value actually means? |
I believe you will actually look in to the source code. BTW, why do you think that is returning a value defined in "errno.h"? It just returns an int It can be anything.
Looking in to the source code you have: Code:
return usb_start_wait_urb(urb,timeout,actual_length); Code:
ret = usb_internal_control_msg(dev, pipe, dr, data, size, timeout); I don't think it has anything to do with errno.h |
All times are GMT -5. The time now is 09:26 AM. |