[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1567566079-7412-1-git-send-email-zhongjiang@huawei.com>
Date: Wed, 4 Sep 2019 11:01:16 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: <davem@...emloft.net>, <herbert@...dor.apana.org.au>,
<arno@...isbad.org>, <joro@...tes.org>,
<gregkh@...uxfoundation.org>
CC: <zhongjiang@...wei.com>, <iommu@...ts.linux-foundation.org>,
<linux-crypto@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/3] Use kzfree instead of memset() + kfree()
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
Powered by blists - more mailing lists