+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In case the device reserved region list is void, the returned value of iommu_insert_device_resv_regions is uninitialized. Let's return 0 in that case. This fixes commit 6c65fb31 ("iommu: iommu_get_group_resv_regions"). Reported-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Eric Auger <eric.auger@redhat.com> Signed-off-by:
Joerg Roedel <jroedel@suse.de>