aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorYunfeng Ye <yeyunfeng@huawei.com>2019-09-15 17:31:14 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-09-20 22:53:09 +1000
commite00371af1d4ce73d527d8ee69fda2febaf5a42c2 (patch)
tree52dabd522fb90c53f42bfccc089a6b1e9bcef4df /drivers/fpga/zynq-fpga.c
parent24fbf7bad888767bed952f540ac963bc57e47e15 (diff)
downloadlinux-e00371af1d4ce73d527d8ee69fda2febaf5a42c2.tar.gz
linux-e00371af1d4ce73d527d8ee69fda2febaf5a42c2.tar.bz2
linux-e00371af1d4ce73d527d8ee69fda2febaf5a42c2.zip
crypto: hisilicon - Matching the dma address for dma_pool_free()
When dma_pool_zalloc() fail in sec_alloc_and_fill_hw_sgl(), dma_pool_free() is invoked, but the parameters that sgl_current and sgl_current->next_sgl is not match. Using sec_free_hw_sgl() instead of the original free routine. Fixes: 915e4e8413da ("crypto: hisilicon - SEC security accelerator driver") Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions