[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210402070004.GA10299@gondor.apana.org.au>
Date: Fri, 2 Apr 2021 18:00:04 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Kai Ye <yekai13@...wei.com>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
wangzhou1@...ilicon.com
Subject: Re: [PATCH] crypto: hisilicon/qm - delete redundant code
On Fri, Mar 26, 2021 at 09:14:32AM +0800, Kai Ye wrote:
> The memory not needed to clear that will be freed. and the memset is useless
> after the dma is freed.
I don't doubt that this memory probably doesn't need to be zeroed
since all it contains is a bunch of pointers instead of actual data.
But your patch description is poorly written and needs to be
rephrased to describe more clearly why it is safe to remove
the memset.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists