commit | 6baf139e8b0efd7450cca792db5a37b0bccb8761 | [log] [tgz] |
---|---|---|
author | Djordje Zekovic <dj@zeko.me> | Fri May 23 14:18:03 2014 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 24 04:38:34 2014 +0900 |
tree | 4a93d09feb2fcf9816386beaee936c2bd1036118 | |
parent | 43339bed7010da6e7cf797db3216a136a974a0cd [diff] |
staging: usbip: use kcalloc instead of kzalloc for array allocations The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Djordje Zekovic <dj@zeko.me> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>