Re: [PATCH] rocker: fix incorrect error handling in dma_rings_init

2020-06-15 Thread David Miller
From: Aditya Pakki Date: Fri, 12 Jun 2020 15:27:55 -0500 > In rocker_dma_rings_init, the goto blocks in case of errors > caused by the functions rocker_dma_cmd_ring_waits_alloc() and > rocker_dma_ring_create() are incorrect. The patch fixes the > order consistent with cleanup in

[PATCH] rocker: fix incorrect error handling in dma_rings_init

2020-06-12 Thread Aditya Pakki
In rocker_dma_rings_init, the goto blocks in case of errors caused by the functions rocker_dma_cmd_ring_waits_alloc() and rocker_dma_ring_create() are incorrect. The patch fixes the order consistent with cleanup in rocker_dma_rings_fini(). Signed-off-by: Aditya Pakki ---