From: Ricardo Ribalda Delgado Date: Mon, 2 Feb 2015 10:06:56 +0000 (+0100) Subject: spi/xilinx: Fix access invalid memory on xilinx_spi_tx X-Git-Tag: fixes-v4.0-rc1~184^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34093cb97abe9298a19a96b1b2f1714e28f8e67f;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed