Re: [spi-devel-general] [PATCH 1/7] powerpc: Implement get_brgfreq() and get_baudrate() stubs

2008-12-16 Thread Kumar Gala
On Dec 5, 2008, at 2:10 PM, Anton Vorontsov wrote: > This is needed to not bother with ugly #ifdefs in the drivers. > > Signed-off-by: Anton Vorontsov > --- > arch/powerpc/sysdev/fsl_soc.h |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) applied to next - k

[spi-devel-general] [PATCH 10/11] drivers/spi: Move a dereference below a NULL test

2008-12-16 Thread Julia Lawall
From: Julia Lawall In each case, if the NULL test is necessary, then the dereference should be moved below the NULL test. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @@ type T; expression E; identifier i,fld; statement S; @@ - T i = E->fl

Re: [spi-devel-general] "concurrent" transfers list corruption (spi_async) with atmel_spi

2008-12-16 Thread Domen Puncer
Uh, nm, sorry for the noise, it was my code that used the same message and transfer struct. (Maybe if I posted before I'd find it sooner? ;-) ) Domen On 16/12/08 10:42 +0100, Domen Puncer wrote: > Hello! > > At least I think this is the reason. > > I'm doing spi_async transfers, and in

[spi-devel-general] "concurrent" transfers list corruption (spi_async) with atmel_spi

2008-12-16 Thread Domen Puncer
Hello! At least I think this is the reason. I'm doing spi_async transfers, and in the middle, I get an interrupt which triggers another spi_async (presumably in the middle of spi callback) , to read status register. The resulting backtrace is: [42949455.73] [ cut here ]-