dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Hiroshi Doyu 2012-06-25 14:23:58 +03:00 committed by Joerg Roedel
parent 0547c2f56e
commit ff7636292a
1 changed files with 2 additions and 2 deletions

View File

@ -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;