red-...@lists.osuosl.org; netdev@vger.kernel.org;
linux-ker...@vger.kernel.org
Cc: Maninder Singh <maninder...@samsung.com>; panka...@samsung.com
Subject: [Intel-wired-lan] [PATCH 1/1] ixgbe: use kzalloc for allocating one
thing
Use kzalloc rather than kcalloc(1..
The semantic patch that
Use kzalloc rather than kcalloc(1..
The semantic patch that makes this change is as follows:
// smpl
@@
@@
- kcalloc(1,
+ kzalloc(
...)
// /smpl
and removing checkpatch below CHECK:
CHECK: Prefer kzalloc(sizeof(*fwd_adapter)...) over
kzalloc(sizeof(struct ixgbe_fwd_adapter)...)