commit | f2339eb9b9b01c6728ed36c274ca381bc6c452c0 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jun 19 13:51:25 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 22 16:54:08 2017 +0800 |
tree | 43d5d99f032490bb2368839e7214ebc914ae24bf | |
parent | 8bd1d400f6a4d1fdcf79c64012602518781573e5 [diff] |
crypto: cavium/nitrox - dma_mapping_error() returns bool We want to return negative error codes here, but we're accidentally propogating the "true" return from dma_mapping_error(). Fixes: 14fa93cdcd9b ("crypto: cavium - Add support for CNN55XX adapters.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>