Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9879bb2b authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

usb-bulk-transfer: Clarify sign-iy-ness of param

Parameter is implicily converted to unsigned when assigned to the struct,
so make sure users are aware of this.

Test: compiled
Change-Id: I25ca6b24591497aa4e7ce8db262ce1099c2b7b09
parent 91811d2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ int usb_device_control_transfer(struct usb_device *device,
int usb_device_bulk_transfer(struct usb_device *device,
                            int endpoint,
                            void* buffer,
                            int length,
                            unsigned int length,
                            unsigned int timeout);

/** Reset USB bus for the device */
+1 −1
Original line number Diff line number Diff line
@@ -600,7 +600,7 @@ int usb_device_control_transfer(struct usb_device *device,
int usb_device_bulk_transfer(struct usb_device *device,
                            int endpoint,
                            void* buffer,
                            int length,
                            unsigned int length,
                            unsigned int timeout)
{
    struct usbdevfs_bulktransfer  ctrl;