Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 619fe082 authored by Susheel Khiani's avatar Susheel Khiani
Browse files

dma-mapping: Check for valid IOVA address



We might fail in alloc_iova if we run out
of virtual addresses in pool. Currently,
if we fail in alloc_iova we are not checking
for return value and directly going ahead
and mapping invalid IOVA address. Fix this
by explicitly checking for return value
from alloc_iova.

Change-Id: I7681d13b75f47a86f0b0b6cbf4b8405a7528ff66
Signed-off-by: default avatarSusheel Khiani <skhiani@codeaurora.org>
parent 2be5ff68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment