[PATCH] dma: mv_xor: fix kernel crash on probe error
Jason Cooper
jason at lakedaemon.net
Thu Dec 12 16:15:30 EST 2013
On Thu, Dec 12, 2013 at 11:11:55PM +0200, Aaro Koskinen wrote:
> If the non-DT channel add path fails, the kernel will crash as the
> channel is not set to NULL and it will try to release the channel using
> the error value. Fix that.
>
> Signed-off-by: Aaro Koskinen <aaro.koskinen at iki.fi>
> ---
> drivers/dma/mv_xor.c | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Jason Cooper <jason at lakedaemon.net>
thx,
Jason.
More information about the linux-arm-kernel
mailing list