OSDN Git Service

iommu/arm-smmu: Fix uninitialized use of variable error
authorSusheel Khiani <skhiani@codeaurora.org>
Wed, 23 Mar 2016 09:06:17 +0000 (14:36 +0530)
committerLiam Mark <lmark@codeaurora.org>
Mon, 14 Nov 2016 22:59:14 +0000 (14:59 -0800)
commite5f6efadcdc45c85772429572774c6514cfe8c1e
treef4bb906c486be0cff8b999adb473d0b30f849373
parent24d0c1f91eb2850889cb27ef6fdcadc0c8ff2834
iommu/arm-smmu: Fix uninitialized use of variable error

There are couple of instances where we are declaring
variable without proper initialization and we
might end up returning these uninitialized
variables. Fix this by initializing them during
declaration.

Change-Id: Icd5b504c35683e94383d2cefd186f66000478e82
Signed-off-by: Susheel Khiani <skhiani@codeaurora.org>
drivers/iommu/arm-smmu.c