]> 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)
commitacce40037041f97baad18142bb253064491ebde3
tree0105b993c57391568e75650dda1f5e4c49cec82d
parentf111606b63ff2282428ffbac0447c871eb957b6c
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: 5e123b844a1c ("[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