git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0635287
)
spi/xilinx: Fix access invalid memory on xilinx_spi_tx
author
Ricardo Ribalda Delgado
<ricardo.ribalda@gmail.com>
Mon, 2 Feb 2015 10:06:56 +0000
(11:06 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 2 Feb 2015 12:17:19 +0000
(12:17 +0000)
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>
drivers/spi/spi-xilinx.c
patch
|
blob
|
history
diff --cc
drivers/spi/spi-xilinx.c
Simple merge