[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1567564752-6430-1-git-send-email-zhongjiang@huawei.com>
Date: Wed, 4 Sep 2019 10:39:09 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: <davem@...emloft.net>, <anna.schumaker@...app.com>,
<trond.myklebust@...merspace.com>
CC: <zhongjiang@...wei.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/3] net: Use kzfree() directly
With the help of Coccinelle. We find some place to replace.
@@
expression M, S;
@@
- memset(M, 0, S);
- kfree(M);
+ kzfree(M);
zhong jiang (3):
ixgbe: Use kzfree() rather than its implementation.
sunrpc: Use kzfree rather than its implementation.
net: mpoa: Use kzfree rather than its implementation.
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 9 +++------
net/atm/mpoa_caches.c | 6 ++----
net/sunrpc/auth_gss/gss_krb5_keys.c | 9 +++------
3 files changed, 8 insertions(+), 16 deletions(-)
--
1.7.12.4
Powered by blists - more mailing lists