Hello I diffed the usb.c of kernel 2.5.8 as described in Documentation/SubmittingPatches.
But this patch looks different to the others posted on this list. Do you have any guidelines (eg. a/... b/.... directories, the first line starting with 'diff -Nru')? This is the reason why I didn't include "[PATCH]" in the subject (perhaps I mess up your automatic patching scripts (Do you have any?)). Do I have to CC it to "[EMAIL PROTECTED]", as mentioned in #5 This is my first patch, so please be patient. --- drivers/usb/core/usb.c.orig Sun Apr 14 19:18:53 2002 +++ drivers/usb/core/usb.c Sun Apr 21 14:22:17 2002 @@ -1175,7 +1175,7 @@ * This function sends a simple control message to a specified endpoint * and waits for the message to complete, or timeout. * - * If successful, it returns 0, otherwise a negative error number. + * If successful, it returns the number of bytes transferred, otherwise a +negative error number. * * Don't use this function from within an interrupt context, like a * bottom half handler. If you need an asynchronous message, or need to send On Wednesday 17 April 2002 19:40, David Brownell wrote: > Right. Care to submit a patch to the documentation? > > Both 2.4 and 2.5 seem to have this problem, but it > looks like one patch could work for both since the > text is basically the same. I tried it, but I don't know how to do this (different directories and positions) > - Dave > > > ----- Original Message ----- > From: "Dominik Kuhlen" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 16, 2002 4:09 PM > Subject: [linux-usb-devel] Mistake in usb.c > > > Hello ! > > After some source investigations I discovered a harmless mistake: > The description of the usb_control_msg(...) function says > it returns 0, or less than 0 if an error occured, but > the usb_internal_control_msg returns length, which is sometimes >0 > (success) or <0 if error. > > Thanks > Dominik > > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel > > > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel Thanks Dominik _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
