Re: [PATCH] spi/pl022: Fix chipselects pointer computation

2012-09-05 Thread Mark Brown
On Mon, Sep 03, 2012 at 10:14:29AM +0200, Roland Stigge wrote: > The new chip select handling via GPIO introduced a pointer computation bug: Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majord

Re: [PATCH] spi/pl022: Fix chipselects pointer computation

2012-09-03 Thread Linus Walleij
On Mon, Sep 3, 2012 at 10:14 AM, Roland Stigge wrote: > The new chip select handling via GPIO introduced a pointer computation bug: > > (int *) pl022 + sizeof(struct pl022) > > doesn't point to the data immediately after the actual struct pl022 (as was > intended) but to a multiple of byt