Re: USB: make usb_iso_packet_descriptor.status signed
Pete Zaitcev <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On Sun, 11 Feb 2007 17:17:35 -0500 (EST), Alan Stern <[email protected]> wrote: > > @@ -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; > Do we also want to update the corresponding userspace-visible declaration > in usbdevice_fs.h? I dunno, probably. I hope nobody compares for (desc->status>0) in user mode. I went over the drivers in the tree, and all of them compare for (desc->status!=0) or (!desc->status). I grepped for pipeisoc and missed devio.c, so I forgot about it. -- Pete ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel