diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-04-29 17:35:57 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-04-29 17:35:57 +0100 |
| commit | aa64cfaeb4ad0e67ccb54fa20511d7a36db9d833 (patch) | |
| tree | 27e45692364d6a7b2507353b453933637ff23ec4 /python | |
| parent | c637044120705004b792ecf29e6b4be41e20c4c8 (diff) | |
| download | focaccia-qemu-aa64cfaeb4ad0e67ccb54fa20511d7a36db9d833.tar.gz focaccia-qemu-aa64cfaeb4ad0e67ccb54fa20511d7a36db9d833.zip | |
hw/ssi/xilinx_spips: Avoid variable length array
In the stripe8() function we use a variable length array; however we know that the maximum length required is MAX_NUM_BUSSES. Use a fixed-length array and an assert instead. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Message-id: 20190328152635.2794-1-peter.maydell@linaro.org
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions