diff options
| author | 2026-07-23 10:18:20 +0800 | |
|---|---|---|
| committer | 2026-07-29 09:33:10 +0100 | |
| commit | 51b093a7ba27476e1f639455f005e8d2e75390e4 (patch) | |
| tree | 5429f0030b3fa48061adae0ed9c857975221e934 /tools/lib/python/kdoc/python_version.py | |
| parent | net: sxgbe: free TX rings on RX allocation failure (diff) | |
net: sxgbe: check descriptor ring allocation failures
sxgbe_open() ignores the return value of init_dma_desc_rings() and
continues to program DMA with invalid ring addresses when allocation
fails. Check the return value and disconnect the PHY on failure.
Fixes: 1edb9ca69e8a ("net: sxgbe: add basic framework for Samsung 10Gb ethernet driver")
Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
