From: Pete Zaitcev Date: Sun, 11 Feb 2007 21:56:13 +0000 (-0800) Subject: USB: make usb_iso_packet_descriptor.status signed X-Git-Tag: v2.6.21-rc1~82^2~15 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1bbb60007597b920beca72cd0b413d10290310a;p=linux-2.6 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/usb.h b/include/linux/usb.h index b5c226a87e..a8e8d1eceb 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;