1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/broadcom/genet
Christophe JAILLET 4375ada019 net: bcmgenet: Fix a resource leak in an error handling path in the probe functin
If the 'register_netdev()' call fails, we must undo a previous
'bcmgenet_mii_init()' call.

Fixes: 1c1008c793 ("net: bcmgenet: add main driver file")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20201212182005.120437-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-16 11:04:24 -08:00
..
bcmgenet.c net: bcmgenet: Fix a resource leak in an error handling path in the probe functin 2020-12-16 11:04:24 -08:00
bcmgenet.h net: bcmgenet: restore HFB filters on resume 2020-07-17 13:00:27 -07:00
bcmgenet_wol.c net: bcmgenet: test RBUF_ACPI_EN when resuming 2020-07-17 13:00:27 -07:00
bcmmii.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00