diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2007-02-11 16:56:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-16 18:32:21 -0500 |
commit | d1bbb60007597b920beca72cd0b413d10290310a (patch) | |
tree | 9a02b8d87736545422e22898e4560db979de6557 /include/linux/usb.h | |
parent | 8356f3113d2628c98a58180ca183345474a9d011 (diff) |
USB: make usb_iso_packet_descriptor.status signed
The status in usb_iso_packet_descriptor should be signed, for the benefit
of someone who casts to a long or makes other benign misstep (the principle
of least surprise).
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index b5c226a87ed8..a8e8d1ecebb1 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -935,7 +935,7 @@ struct usb_iso_packet_descriptor { | |||
935 | unsigned int offset; | 935 | unsigned int offset; |
936 | unsigned int length; /* expected length */ | 936 | unsigned int length; /* expected length */ |
937 | unsigned int actual_length; | 937 | unsigned int actual_length; |
938 | unsigned int status; | 938 | int status; |
939 | }; | 939 | }; |
940 | 940 | ||
941 | struct urb; | 941 | struct urb; |