summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-10-23 21:39:02 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-10-23 21:39:02 +0200
commit64131618e8c8a1d5c1470d4d788214f6d4b43cde (patch)
tree0167415c663feedceb321ed6094f3603c4fb9b6e /drivers
parentMerge tag 'regulator-fix-v5.4-rc4' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentvfio/type1: Initialize resv_msi_base (diff)
downloadlinux-64131618e8c8a1d5c1470d4d788214f6d4b43cde.tar.xz
linux-64131618e8c8a1d5c1470d4d788214f6d4b43cde.zip
Merge tag 'vfio-v5.4-rc5' of git://github.com/awilliam/linux-vfio
Pull VFIO fixlet from Alex Williamson: "Fix (false) uninitialized variable warning (Joerg Roedel)" * tag 'vfio-v5.4-rc5' of git://github.com/awilliam/linux-vfio: vfio/type1: Initialize resv_msi_base
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vfio/vfio_iommu_type1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c
index 96fddc1dafc3..d864277ea16f 100644
--- a/drivers/vfio/vfio_iommu_type1.c
+++ b/drivers/vfio/vfio_iommu_type1.c
@@ -1658,7 +1658,7 @@ static int vfio_iommu_type1_attach_group(void *iommu_data,
struct bus_type *bus = NULL;
int ret;
bool resv_msi, msi_remap;
- phys_addr_t resv_msi_base;
+ phys_addr_t resv_msi_base = 0;
struct iommu_domain_geometry geo;
LIST_HEAD(iova_copy);
LIST_HEAD(group_resv_regions);