Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 6956830c authored by Aditya Pakki's avatar Aditya Pakki Committed by Sasha Levin
Browse files

rocker: fix incorrect error handling in dma_rings_init

[ Upstream commit 58d0c864

 ]

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: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a908f986
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment