Re: [PATCH 2/3] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-05 Thread Lars-Peter Clausen
On 09/05/2014 05:04 PM, Krzysztof Kozlowski wrote: If dma_async_device_register() returns error and probe should clean up and return error, a NULL pointer exception happens because of dereference of not allocated channel thread: [...] Signed-off-by: Krzysztof Kozlowski Reviewed-by:

[PATCH 2/3] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-05 Thread Krzysztof Kozlowski
If dma_async_device_register() returns error and probe should clean up and return error, a NULL pointer exception happens because of dereference of not allocated channel thread: Dmesg log (from early printk): dma-pl330 1268.pdma: unable to register DMAC DMA pl330_control: removing pch:

[PATCH 2/3] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-05 Thread Krzysztof Kozlowski
If dma_async_device_register() returns error and probe should clean up and return error, a NULL pointer exception happens because of dereference of not allocated channel thread: Dmesg log (from early printk): dma-pl330 1268.pdma: unable to register DMAC DMA pl330_control: removing pch:

Re: [PATCH 2/3] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-05 Thread Lars-Peter Clausen
On 09/05/2014 05:04 PM, Krzysztof Kozlowski wrote: If dma_async_device_register() returns error and probe should clean up and return error, a NULL pointer exception happens because of dereference of not allocated channel thread: [...] Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com