iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Use kzfree instead of memset() + kfree()
@ 2019-09-04  3:01 zhong jiang
  2019-09-04  3:01 ` [PATCH 1/3] crypto: marvell: Use kzfree rather than its implementation zhong jiang
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: zhong jiang @ 2019-09-04  3:01 UTC (permalink / raw)
  To: davem, herbert, arno, joro, gregkh
  Cc: iommu, zhongjiang, linux-crypto, linux-kernel

th the help of Coccinelle. We find some place to replace.

@@
expression M, S;
@@

- memset(M, 0, S);
- kfree(M);
+ kzfree(M); 

zhong jiang (3):
  crypto: marvell: Use kzfree rather than its implementation
  iommu/pamu: Use kzfree rather than its implementation
  Staging: rtl8723bs: Use kzfree rather than its implementation

 drivers/crypto/marvell/hash.c                 | 3 +--
 drivers/iommu/fsl_pamu.c                      | 6 ++----
 drivers/staging/rtl8723bs/core/rtw_security.c | 3 +--
 3 files changed, 4 insertions(+), 8 deletions(-)

-- 
1.7.12.4

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

end of thread, other threads:[~2019-09-09  7:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04  3:01 [PATCH 0/3] Use kzfree instead of memset() + kfree() zhong jiang
2019-09-04  3:01 ` [PATCH 1/3] crypto: marvell: Use kzfree rather than its implementation zhong jiang
2019-09-09  7:53   ` Herbert Xu
2019-09-04  3:01 ` [PATCH 2/3] iommu/pamu: " zhong jiang
2019-09-04  8:15   ` Joerg Roedel
2019-09-04  9:38     ` zhong jiang
2019-09-04  3:01 ` [PATCH 3/3] Staging: rtl8723bs: " zhong jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).