[PATCH net 0/2] net: tehuti: Fix some error handling paths in bdx_probe()

From: Christophe JAILLET
Date: Tue Feb 27 2024 - 15:51:43 EST


The patch has been split in 2 patches in the hope to ease review. But
they both fix issues introduced years ago in the same commit.

Moreover, the 2nd patch partly undoes the first one.

So, if preferred they can be merged in a single patch.

They are both compile tested-only.

Christophe JAILLET (2):
net: tehuti: Fix a missing pci_disable_msi() in the error handling
path of bdx_probe()
net: tehuti: Fix leaks in the error handling path of bdx_probe()

drivers/net/ethernet/tehuti/tehuti.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

--
2.43.2