diff options
| author | Aditya Pakki <[email protected]> | 2020-06-12 20:27:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-06-15 20:37:36 +0000 |
| commit | 58d0c864e1a759a15c9df78f50ea5a5c32b3989e (patch) | |
| tree | 6bf7d2ee5c8908977d663e82833ad2cb1fd872f4 /tools/testing/selftests/bpf/progs/test_autoload.c | |
| parent | test_objagg: Fix potential memory leak in error handling (diff) | |
| download | kernel-58d0c864e1a759a15c9df78f50ea5a5c32b3989e.tar.gz kernel-58d0c864e1a759a15c9df78f50ea5a5c32b3989e.zip | |
rocker: fix incorrect error handling in dma_rings_init
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions
