diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2015-02-02 11:06:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-02 13:17:19 +0100 |
commit | 34093cb97abe9298a19a96b1b2f1714e28f8e67f (patch) | |
tree | 8d516008ea9cde7c6e2de5519bbbc913a85bf703 /drivers/spi/spi-ti-qspi.c | |
parent | spi: Revert "spi/xilinx: Remove iowrite/ioread wrappers" (diff) | |
download | linux-34093cb97abe9298a19a96b1b2f1714e28f8e67f.tar.xz linux-34093cb97abe9298a19a96b1b2f1714e28f8e67f.zip |
spi/xilinx: Fix access invalid memory on xilinx_spi_tx
On 1 and 2 bytes per word, the transfer of the 3 last bytes will access
memory outside tx_ptr.
Although this has not trigger any error on real hardware, we should
better fix this.
Fixes: 24ba5e593f391507 (Remove rx_fn and tx_fn pointer)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-ti-qspi.c')
0 files changed, 0 insertions, 0 deletions