[Zaurus-devel] [PATCH v2] MAX1111: Fix Race condition causing NULL pointer exception

2011-06-03 Thread Pavel Herrmann
spi_sync call uses its spi_message parameter to keep completion information, having this structure static is not thread-safe, potentially causing one thread having pointers to memory on or above other threads stack. use mutex to prevent multiple access Signed-off-by: Pavel Herrmann morpheus.i

Re: [Zaurus-devel] [PATCH v2] MAX1111: Fix Race condition causing NULL pointer exception

2011-06-29 Thread Pavel Herrmann
anyone picked this yet? On Friday 03 of June 2011 22:00:03 Pavel Herrmann wrote: spi_sync call uses its spi_message parameter to keep completion information, having this structure static is not thread-safe, potentially causing one thread having pointers to memory on or above other threads