Messages in this thread |  | | From | zhong jiang <> | Subject | [PATCH 0/3] net: Use kzfree() directly | Date | Wed, 4 Sep 2019 10:39:09 +0800 |
| |
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
|  |