commit | 41d3c0b84d6e084865c429b1b6825256c0169319 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@freescale.com> | Tue Sep 01 09:47:58 2015 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Sun Sep 27 10:54:31 2015 -0500 |
tree | ad077e9aadd97b4602f21ae2dac00f17b3d2e601 | |
parent | 95c8bc3609440af5e4a4f760b8680caea7424396 [diff] |
usb: misc: usbtest: allocate size of urb array according to user parameter Allocate the size of urb pointer array according to testusb's parameter sglen, and limits the length of sglen as MAX_SGLEN (128 currently). Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>