aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Auger <[email protected]>2017-02-06 09:11:38 +0000
committerJoerg Roedel <[email protected]>2017-02-06 13:08:53 +0000
commita514a6e241f051dd8a4a00a456382dec0b1af21b (patch)
treeefa01490e22bfb3f54fde575d5c82e38d6668c1c /net/unix/af_unix.c
parentiommu: Avoid unnecessary assignment of dev->iommu_fwspec (diff)
downloadkernel-a514a6e241f051dd8a4a00a456382dec0b1af21b.tar.gz
kernel-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 <[email protected]> Signed-off-by: Eric Auger <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions