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

Commit ff763629 authored by Hiroshi Doyu's avatar Hiroshi Doyu Committed by Joerg Roedel
Browse files

iommu/tegra: smmu: Fix uninitialized var warning



For the compiler warning, uninitizlized var when getting value by a
pointer.

Signed-off-by: default avatarHiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 0547c2f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -902,8 +902,8 @@ static int tegra_smmu_probe(struct platform_device *pdev)
	struct smmu_device *smmu;
	struct smmu_device *smmu;
	struct device *dev = &pdev->dev;
	struct device *dev = &pdev->dev;
	int i, asids, err = 0;
	int i, asids, err = 0;
	dma_addr_t base;
	dma_addr_t uninitialized_var(base);
	size_t bytes, size;
	size_t bytes, uninitialized_var(size);


	if (smmu_handle)
	if (smmu_handle)
		return -EIO;
		return -EIO;