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 /COPYING.LIB | |
parent | 02e57e1c14a32aa1ed64e79d349d8e0e37cfaa27 (diff) |
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 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions