8084b788c2
[ Upstream commit 87e02063d07708cac5bfe9fd3a6a242898758ac8 ]
Macro dma_map_sg() may return 0 on error. This patch enables
checks in case of the macro failure and ensures unmapping of
previously mapped buffers with dma_unmap_sg().
Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
safexcel.c | ||
safexcel.h | ||
safexcel_cipher.c | ||
safexcel_hash.c | ||
safexcel_ring.c |