commit | c53439fbd15600ecd48bfec446c2018e4fa6e241 | [log] [tgz] |
---|---|---|
author | Tobin C. Harding <me@tobin.cc> | Fri Mar 09 17:11:14 2018 +1100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 09 09:10:22 2018 -0800 |
tree | 55289a3da82edb2cda51cd158420fa8f1549cbbb | |
parent | cc9debf84ab359aae2becfb4bc9341f7574fe97b [diff] |
usb: usbtest: Remove stack VLA usage The kernel would like to have all stack VLA usage removed[1]. We already have a pre-processor constant defined MAX_SGLEN. We can use this instead of the variable param-sglen. [1]: https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>