]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: tundra: free irq when alloc ring failed in tsi108_open()
authorZhengchao Shao <shaozhengchao@huawei.com>
Wed, 9 Nov 2022 04:40:16 +0000 (12:40 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Nov 2022 14:39:08 +0000 (15:39 +0100)
commit120e4c5a17a8f85ea7e1c5038994778d2bb0917a
tree0105b993c57391568e75650dda1f5e4c49cec82d
parentdadc5f27916ab36753eb7f6b282ee7ec3eb74a21
ethernet: tundra: free irq when alloc ring failed in tsi108_open()

When alloc tx/rx ring failed in tsi108_open(), it doesn't free irq. Fix
it.

Fixes: a7cb01343722 ("[PATCH] Add tsi108/9 On Chip Ethernet device driver support")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221109044016.126866-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/tundra/tsi108_eth.c