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

From: Lars-Peter Clausen
Date: Fri Sep 05 2014 - 11:31:26 EST


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.kozlowski@xxxxxxxxxxx>

Reviewed-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/