diff options
author | Roger Quadros <[email protected]> | 2023-11-17 14:17:55 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-11-19 19:46:40 +0000 |
commit | ebd7bf60e21c567a7fbe0e2a7bc4be8406ff8093 (patch) | |
tree | a17804ae22b65155f935196e42bcdc13b24a903f /tools/perf/scripts/python | |
parent | be397ea3473d24ce596f3aaa22a55af9b004fed8 (diff) |
net: ethernet: ti: am65-cpsw: Fix error handling in am65_cpsw_nuss_common_open()
k3_udma_glue_enable_rx/tx_chn returns error code on failure.
Bail out on error while enabling TX/RX channel.
In the error path, clean up the RX descriptors and SKBs.
Get rid of kmemleak_not_leak() as it seems unnecessary now.
Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver")
Signed-off-by: Roger Quadros <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions