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

Commit ab34ca16 authored by Felipe F. Tonello's avatar Felipe F. Tonello Committed by Greg Kroah-Hartman
Browse files

usb: gadget: change len to size_t on alloc_ep_req()



commit 69bb99738b5c6d56d2b1a75db9cbb4d187453c1a upstream.

Length of buffers should be of type size_t whenever possible. Altough
recommended, this change has no real practical change, unless a driver has a
uses a huge or negative buffer size - it might help find these bugs.

Signed-off-by: default avatarFelipe F. Tonello <eu@felipetonello.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 70fa9b50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment