Skip to content

Commit

Permalink
USB: Fix signr comment in usbdevice_fs.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Phil Endecott authored and Greg Kroah-Hartman committed Nov 28, 2007
1 parent bfaeafc commit bc59462
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/usbdevice_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
Expand Down

0 comments on commit bc59462

Please sign in to comment.