diff options
author | 2017-02-06 10:11:38 +0100 | |
---|---|---|
committer | 2017-02-06 14:08:53 +0100 | |
commit | a514a6e241f051dd8a4a00a456382dec0b1af21b (patch) | |
tree | efa01490e22bfb3f54fde575d5c82e38d6668c1c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu: Avoid unnecessary assignment of dev->iommu_fwspec (diff) | |
download | linux-dev-a514a6e241f051dd8a4a00a456382dec0b1af21b.tar.xz linux-dev-a514a6e241f051dd8a4a00a456382dec0b1af21b.zip |
iommu: Fix static checker warning in iommu_insert_device_resv_regions
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 6c65fb318e8b ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions