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

2014-10-14 Thread Vinod Koul
On Mon, Sep 29, 2014 at 02:42:20PM +0200, 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: > > Dmesg log (from early printk): >

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

2014-10-14 Thread Vinod Koul
On Mon, Sep 29, 2014 at 02:42:20PM +0200, 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: Dmesg log (from early printk): dma-pl330

[RESEND PATCH v2 3/4] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-29 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:

[RESEND PATCH v2 3/4] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-29 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 v2 3/4] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-08 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 v2 3/4] dmaengine: pl330: Fix NULL pointer dereference on probe failure

2014-09-08 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: