dev-arm: Initialize cd_addr in src/dev/arm/smmu_v3_transl.cc
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Thu, 30 Jul 2020 22:51:58 +0000 (15:51 -0700)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Fri, 31 Jul 2020 18:41:27 +0000 (18:41 +0000)
commit9f033ee6c8fff0dbfb7cd9cea3f753ba399c0d17
treeb0327a894a7310dacaa1822dd1876c5901ccda73
parent5bf345f77a31c16a0f500cdaaef2749565068fe5
dev-arm: Initialize cd_addr in src/dev/arm/smmu_v3_transl.cc

In src/dev/arm/smmu_v3_transl.cc#L1401, cd_addr might not be
initialized when all if statements fail.

Change-Id: Idf53c07a9b5d52eea488e631f7334d4b566e645a
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32015
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/smmu_v3_transl.cc