commit | 5e757bc58d15b9fc7d36bb4fcc6f068489e2d29d | [log] [tgz] |
---|---|---|
author | Shraddha Barke <shraddha.6596@gmail.com> | Fri Oct 09 21:03:28 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 12 20:49:29 2015 -0700 |
tree | 2f2d8f5ec75e882dab8ebb1bc4d3fc99fa66791a | |
parent | bb30b15aeaeacc980facbe877ed23882e35fcd8c [diff] |
Staging: unisys: Use kcalloc instead of kzalloc to allocate array 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: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>