From: Maninder Singh Date: Fri, 19 Jun 2015 04:07:55 +0000 (+0530) Subject: ixgbe: use kzalloc for allocating one thing X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~9^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc52f951e344b2ec64388c71890d88c5fc154a41;p=pandora-kernel.git ixgbe: use kzalloc for allocating one thing Use kzalloc rather than kcalloc(1.. The semantic patch that makes this change is as follows: // @@ @@ - kcalloc(1, + kzalloc( ...) // and removing checkpatch below CHECK: CHECK: Prefer kzalloc(sizeof(*fwd_adapter)...) over kzalloc(sizeof(struct ixgbe_fwd_adapter)...) Signed-off-by: Maninder Singh Reviewed-by: Vaneet Narang Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed