diff options
author | Peter Maydell | 2018-10-11 19:20:57 +0200 |
---|---|---|
committer | Peter Maydell | 2018-10-16 18:14:55 +0200 |
commit | ab44c7b71fa683b9402bea0d367b87c881704188 (patch) | |
tree | 5d001fc9ce3f4ce456825fbc31bde7175ce821a8 /scripts/coccinelle | |
parent | target/arm: Mask PMOVSR writes based on supported counters (diff) | |
download | qemu-ab44c7b71fa683b9402bea0d367b87c881704188.tar.gz qemu-ab44c7b71fa683b9402bea0d367b87c881704188.tar.xz qemu-ab44c7b71fa683b9402bea0d367b87c881704188.zip |
target/arm: Initialize ARMMMUFaultInfo in v7m_stack_read/write
The get_phys_addr() functions take a pointer to an ARMMMUFaultInfo
struct, which they fill in only if a fault occurs. This means that
the caller must always zero-initialize the struct before passing
it in. We forgot to do this in v7m_stack_read() and v7m_stack_write().
Correct the error.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181011172057.9466-1-peter.maydell@linaro.org
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions