From: Djordje Zekovic Date: Fri, 23 May 2014 14:18:03 +0000 (+0000) Subject: staging: usbip: use kcalloc instead of kzalloc for array allocations X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~342 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6baf139e8b0efd7450cca792db5a37b0bccb8761;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed