[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <EF50CC0C76A53A44BAD798C58E0A157E271B565B@ORSMSX103.amr.corp.intel.com>
Date: Wed, 2 Sep 2015 02:24:03 +0000
From: "Singh, Krishneil K" <krishneil.k.singh@...el.com>
To: Maninder Singh <maninder1.s@...sung.com>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
"Nelson, Shannon" <shannon.nelson@...el.com>,
"Wyborny, Carolyn" <carolyn.wyborny@...el.com>,
"Skidmore, Donald C" <donald.c.skidmore@...el.com>,
"Vick, Matthew" <matthew.vick@...el.com>,
"Ronciak, John" <john.ronciak@...el.com>,
"Williams, Mitch A" <mitch.a.williams@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "pankaj.m@...sung.com" <pankaj.m@...sung.com>
Subject: RE: [Intel-wired-lan] [PATCH 1/1] ixgbe: use kzalloc for allocating
one thing
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces@...ts.osuosl.org] On Behalf Of Maninder Singh
Sent: Thursday, June 18, 2015 9:08 PM
To: Kirsher, Jeffrey T <jeffrey.t.kirsher@...el.com>; Brandeburg, Jesse <jesse.brandeburg@...el.com>; Nelson, Shannon <shannon.nelson@...el.com>; Wyborny, Carolyn <carolyn.wyborny@...el.com>; Skidmore, Donald C <donald.c.skidmore@...el.com>; Vick, Matthew <matthew.vick@...el.com>; Ronciak, John <john.ronciak@...el.com>; Williams, Mitch A <mitch.a.williams@...el.com>; intel-wired-lan@...ts.osuosl.org; netdev@...r.kernel.org; linux-kernel@...r.kernel.org
Cc: Maninder Singh <maninder1.s@...sung.com>; pankaj.m@...sung.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 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)...)
Signed-off-by: Maninder Singh <maninder1.s@...sung.com>
Reviewed-by: Vaneet Narang <v.narang@...sung.com>
---
Tested-By: Krishneil Singh <krishneil.k.singh@...el.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists