Skip to content

Commit bc59462

Browse files
Phil Endecottgregkh
authored andcommitted
USB: Fix signr comment in usbdevice_fs.h
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>
1 parent bfaeafc commit bc59462

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎include/linux/usbdevice_fs.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ struct usbdevfs_urb {
102102
int start_frame;
103103
int number_of_packets;
104104
int error_count;
105-
unsigned int signr; /* signal to be sent on error, -1 if none should be sent */
105+
unsigned int signr; /* signal to be sent on completion,
106+
or 0 if none should be sent. */
106107
void *usercontext;
107108
struct usbdevfs_iso_packet_desc iso_frame_desc[0];
108109
};

0 commit comments

Comments
 (0)