From: Tina Ruchandani Date: Wed, 22 Oct 2014 18:29:26 +0000 (-0700) Subject: staging: lustre: llite: Use kcalloc not kzalloc with mult X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~1054 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa3b9d3542a76f192e4789352e5f8fafe8bc655;p=pandora-kernel.git staging: lustre: llite: Use kcalloc not kzalloc with mult This patch fixes the following checkpatch.pl warnings: WARNING: Prefer kcalloc over kzalloc with multiply 166: FILE: drivers/staging/lustre/lustre/llite/dir.c:166: page_pool = kzalloc(sizeof(page) * max_pages, GFP_NOFS); 796: FILE: drivers/staging/lustre/lustre/llite/lloop.c:796: loop_dev = kzalloc(max_loop * sizeof(*loop_dev), GFP_KERNEL); 800: FILE: drivers/staging/lustre/lustre/llite/lloop.c:800: disks = kzalloc(max_loop * sizeof(*disks), GFP_KERNEL); Signed-off-by: Tina Ruchandani Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed