commit | 6202e708f303b7c85d1cb56833d80a3ebb084252 | [log] [tgz] |
---|---|---|
author | Hui Tang <tanghui20@huawei.com> | Fri Mar 05 14:35:01 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 11 14:47:16 2021 +0200 |
tree | 5820ad99a13ff3c1b190776d40a3bb161aee99e1 | |
parent | 92f333793a78d9d721085aca4b2fa9ed01b7eb73 [diff] |
crypto: qat - fix unmap invalid dma address [ Upstream commit 792b32fad548281e1b7fe14df9063a96c54b32a2 ] 'dma_mapping_error' return a negative value if 'dma_addr' is equal to 'DMA_MAPPING_ERROR' not zero, so fix initialization of 'dma_addr'. Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>