[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170817090036.GD25646@gondor.apana.org.au>
Date: Thu, 17 Aug 2017 17:00:36 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Pan Bian <bianpan2016@....com>
Cc: Tom Lendacky <thomas.lendacky@....com>,
Gary Hook <gary.hook@....com>,
"David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: crypto: ccp: use dma_mapping_error to check map error
On Tue, Aug 08, 2017 at 09:42:47PM +0800, Pan Bian wrote:
> The return value of dma_map_single() should be checked by
> dma_mapping_error(). However, in function ccp_init_dm_workarea(), its
> return value is checked against NULL, which could result in failures.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Patch applied. 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