diff options
author | Hiroshi Doyu <hdoyu@nvidia.com> | 2012-06-25 14:23:58 +0300 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-06-25 13:50:44 +0200 |
commit | ff7636292aac6cae2ee3a553d5424ea49c8a8263 (patch) | |
tree | a80aa9599a12bd658f456e5c769c68bbf74de3aa /drivers/iommu | |
parent | 0547c2f56e6e4795d5366ba3b8483b668920a947 (diff) | |
download | linux-ff7636292aac6cae2ee3a553d5424ea49c8a8263.tar.bz2 |
iommu/tegra: smmu: Fix uninitialized var warning
For the compiler warning, uninitizlized var when getting value by a
pointer.
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/tegra-smmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index cc6aba45e49a..becfc614cf94 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c @@ -902,8 +902,8 @@ static int tegra_smmu_probe(struct platform_device *pdev) struct smmu_device *smmu; struct device *dev = &pdev->dev; int i, asids, err = 0; - dma_addr_t base; - size_t bytes, size; + dma_addr_t uninitialized_var(base); + size_t bytes, uninitialized_var(size); if (smmu_handle) return -EIO; |