[PATCH] spi/xilinx: Fix access invalid memory on xilinx_spi_tx

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Fri Jan 30 04:23:01 PST 2015

On 30 Jan 2015 11:06, "Geert Uytterhoeven" <geert at linux-m68k.org> wrote:

> Is this endian-safe?

As endianness safe as the original code, but there is also an issue. It is
using rx_ptr.

I am away until  Sunday. So I cannot make a new patch until then. I tried
to make this patch before leaving in the morning and was obviously a

Again, Sorry for the mess this is really embarrassing.
>         xspi->tx_ptr += xspi->bytes_per_word;

> >  }
> Gr{oetje,eeting}s,
>                         Geert
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
> geert at linux-m68k.org <javascript:;>
> In personal conversations with technical people, I call myself a hacker.
> But
> when I'm talking to journalists I just say "programmer" or something like
> that.
>                                 -- Linus Torvalds

More information about the linux-arm-kernel mailing list