diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-05-07 12:55:04 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-05-07 12:55:04 +0100 |
commit | 63159601fb3e396b28da14cbb71e50ed3f5a0331 (patch) | |
tree | 93000e89219661e4b073b956b6dbc23006e00c77 /include | |
parent | f1e2598c46d480c9e21213a244bc514200762828 (diff) | |
download | qemu-63159601fb3e396b28da14cbb71e50ed3f5a0331.zip |
target/arm: Stop using variable length array in dc_zva
Currently the dc_zva helper function uses a variable length
array. In fact we know (as the comment above remarks) that
the length of this array is bounded because the architecture
limits the block size and QEMU limits the target page size.
Use a fixed array size and assert that we don't run off it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190503120448.13385-1-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions