diff options
| author | Francisco Iglesias <frasse.iglesias@gmail.com> | 2018-01-25 11:45:30 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-01-25 11:45:30 +0000 |
| commit | fbe5dac7b2777626670097218ce4dfc4a19a17e9 (patch) | |
| tree | 5abb2e304345d66e9bbb29442b0d4d4f922caaee /include/hw/usb.h | |
| parent | 02e57e1c14a32aa1ed64e79d349d8e0e37cfaa27 (diff) | |
| download | focaccia-qemu-fbe5dac7b2777626670097218ce4dfc4a19a17e9.tar.gz focaccia-qemu-fbe5dac7b2777626670097218ce4dfc4a19a17e9.zip | |
xilinx_spips: Correct usage of an uninitialized local variable
Coverity found that the variable tx_rx in the function xilinx_spips_flush_txfifo was being used uninitialized (CID 1383841). This patch corrects this by always initializing tx_rx to zeros. Signed-off-by: Francisco Iglesias <frasse.iglesias@gmail.com> Message-id: 20180124215708.30400-1-frasse.iglesias@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/usb.h')
0 files changed, 0 insertions, 0 deletions