From: Himangi Saraogi Date: Fri, 11 Jul 2014 19:42:43 +0000 (+0530) Subject: thunderbolt: Use kcalloc X-Git-Tag: cleanup-for-v3.18~127^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a211f320ee3d86835b40efd2948642482d3c933;p=pandora-kernel.git 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 Acked-by: Julia Lawall Acked-by: Andreas Noever Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed