All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] net: Use kzfree() directly
@ 2019-09-04  2:39 zhong jiang
  2019-09-04  2:39 ` [PATCH 1/3] ixgbe: Use kzfree() rather than its implementation zhong jiang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: zhong jiang @ 2019-09-04  2:39 UTC (permalink / raw)
  To: davem, anna.schumaker, trond.myklebust; +Cc: zhongjiang, netdev, linux-kernel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-17  3:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-04  2:39 [PATCH 0/3] net: Use kzfree() directly zhong jiang
2019-09-04  2:39 ` [PATCH 1/3] ixgbe: Use kzfree() rather than its implementation zhong jiang
2019-09-17  2:43   ` Jakub Kicinski
2019-09-17  3:19     ` zhong jiang
2019-09-04  2:39 ` [PATCH 2/3] sunrpc: Use kzfree " zhong jiang
2019-09-04  2:39 ` [PATCH 3/3] net: mpoa: " zhong jiang
2019-09-05 10:06 ` [PATCH 0/3] net: Use kzfree() directly David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.