aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2010-05-22 04:18:02 -0400
committerGrant Likely <grant.likely@secretlab.ca>2010-05-22 04:18:02 -0400
commitf9218c2a60facc6ff9a793a9d9ab956194d70012 (patch)
tree03876aab569a848ee44b741fd389856738470148 /crypto
parente40152ee1e1c7a63f4777791863215e3faa37a86 (diff)
spi/spi_mpc8xxx: fix potential memory corruption.
tx_dma/rx_dma are already set to a dummy buffer when no tx/rx buffer and t->tx_dma/t->rx_dma does not contain a dma address, but NULL. This may lead to corruption of kernel memory. Fix this by leaving tx_dma/rx_dma alone. Do not INIT_TX_RX while controller is enabled, this is bad according to the MPC8321 manual. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions