mbox series

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

Message ID cover.1709066709.git.christophe.jaillet@wanadoo.fr (mailing list archive)
Headers show
Series net: tehuti: Fix some error handling paths in bdx_probe() | expand

Message

Christophe JAILLET Feb. 27, 2024, 8:50 p.m. UTC
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(-)