Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1713690 > unrolled thread

Re: crypto: ccp: use dma_mapping_error to check map error

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2017-08-17 11:10 +0200
Last post2017-08-17 11:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: crypto: ccp: use dma_mapping_error to check map error Herbert Xu <herbert@gondor.apana.org.au> - 2017-08-17 11:10 +0200

#1713690 — Re: crypto: ccp: use dma_mapping_error to check map error

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2017-08-17 11:10 +0200
SubjectRe: crypto: ccp: use dma_mapping_error to check map error
Message-ID<ufoYq-2Kf-37@gated-at.bofh.it>
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@163.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web