提交 ff763629 编写于 作者: H Hiroshi Doyu 提交者: Joerg Roedel

iommu/tegra: smmu: Fix uninitialized var warning

For the compiler warning, uninitizlized var when getting value by a
pointer.
Signed-off-by: NHiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
上级 0547c2f5
...@@ -902,8 +902,8 @@ static int tegra_smmu_probe(struct platform_device *pdev) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册