[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error in usb_control_msg Documentation



The generated documentation in your Kernel API section contains a
grievous error:  the return values for usb_control_msg() are listed as
negative for error, 0 for success.  This is not correct:  a successful
return for usb_control_msg() will result in a nonnegative integer
indicating the actual number of bytes sent or received in the "data"
parameter.

Please fix this ASAP.  This mistake cost me a lot of time, and I'd hate
to see others hamstrung by it.

Sincerely,
Chris BeHanna                    chris@pennasoft.com
Principal Consultant           http://www.pennasoft.com
PennaSoft

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/