target/arm: Always pass cacheattr in S1_ptw_translate
commita6d6f37aed4b171d121cd4a9363fbb41e90dcb53
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Jul 2020 15:12:10 +0000 (27 16:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jul 2020 15:12:10 +0000 (27 16:12 +0100)
tree7e02ec1255a400c1886d88b9845924ae043f1b29
parentca05a240d4fa2ce880c630058b635482d3d472f8
target/arm: Always pass cacheattr in S1_ptw_translate

When we changed the interface of get_phys_addr_lpae to require
the cacheattr parameter, this spot was missed.  The compiler is
unable to detect the use of NULL vs the nonnull attribute here.

Fixes: 7e98e21c098
Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Jan Kiszka <jan.kiskza@siemens.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c