]> err.no Git - linux-2.6/commitdiff
USB: Fix signr comment in usbdevice_fs.h
authorPhil Endecott <spam_from_usb_devel@chezphil.org>
Mon, 29 Oct 2007 20:40:30 +0000 (20:40 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 21:58:34 +0000 (13:58 -0800)
This trivial documentation patch corrects a comment in usbdevice_fs.h; it
previously suggested that the signal would only be sent on error, but I am
told that it is sent on both successful and unsuccessful completion, and
that zero indicates that no signal should be sent.

Signed-off-by: Phil Endecott <spam_from_usb_devel@chezphil.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usbdevice_fs.h

index 342dd5a7e8bb822f139955bb91ba9cab069b3e2f..8ca5a7fbc9ecaf38d8baefa7da3618aadd628828 100644 (file)
@@ -102,7 +102,8 @@ struct usbdevfs_urb {
        int start_frame;
        int number_of_packets;
        int error_count;
-       unsigned int signr;  /* signal to be sent on error, -1 if none should be sent */
+       unsigned int signr;     /* signal to be sent on completion,
+                                 or 0 if none should be sent. */
        void *usercontext;
        struct usbdevfs_iso_packet_desc iso_frame_desc[0];
 };