projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0547c2f
)
iommu/tegra: smmu: Fix uninitialized var warning
author
Hiroshi Doyu
<hdoyu@nvidia.com>
Mon, 25 Jun 2012 11:23:58 +0000
(14:23 +0300)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 25 Jun 2012 11:50:44 +0000
(13:50 +0200)
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>
drivers/iommu/tegra-smmu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/tegra-smmu.c
b/drivers/iommu/tegra-smmu.c
index cc6aba45e49aa68b7ad7be5a59c6859d82aa3457..becfc614cf9422e7e70bf66fc1e768012b002f85 100644
(file)
--- 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;