summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2007-02-12 00:56:13 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-17 02:32:21 +0300
commitd1bbb60007597b920beca72cd0b413d10290310a (patch)
tree9a02b8d87736545422e22898e4560db979de6557
parent8356f3113d2628c98a58180ca183345474a9d011 (diff)
downloadlinux-d1bbb60007597b920beca72cd0b413d10290310a.tar.xz
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>
-rw-r--r--include/linux/usb.h2
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 {
unsigned int offset;
unsigned int length; /* expected length */
unsigned int actual_length;
- unsigned int status;
+ int status;
};
struct urb;