commit | 2a211f320ee3d86835b40efd2948642482d3c933 | [log] [tgz] |
---|---|---|
author | Himangi Saraogi <himangi774@gmail.com> | Sat Jul 12 01:12:43 2014 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jul 13 13:16:50 2014 -0700 |
tree | eea9f41ae4a1c16b7938585e3b9a34e85bb40989 | |
parent | 95b4ecbf759ae8ecf40462ed5e6a08023166a05c [diff] |
thunderbolt: Use kcalloc 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: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Acked-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>