Re: Switch to uiomove in usb

2016-02-29 Thread Martin Natano
On Sun, Feb 28, 2016 at 08:14:39PM +0100, Stefan Kempf wrote: > This changes uiomovei calls to uiomove in usb. It fixes > a few integer truncations due to use of min, and uses > unsigned types for count variables where it makes sense. > This also allows us to get rid of a couple of 'if (len < 0)' c

Switch to uiomove in usb

2016-02-28 Thread Stefan Kempf
This changes uiomovei calls to uiomove in usb. It fixes a few integer truncations due to use of min, and uses unsigned types for count variables where it makes sense. This also allows us to get rid of a couple of 'if (len < 0)' checks that just cannot happen. udbd_get_cdesc() returns a length valu