aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2020-12-12 19:20:05 +0100
committerJakub Kicinski <[email protected]>2020-12-16 11:04:24 -0800
commit4375ada01963d1ebf733d60d1bb6e5db401e1ac6 (patch)
treee02144fbdc0ebfbd41145a6c64cec50bbeefc476 /lib/test_overflow.c
parent54a57d1c449275ee727154ac106ec1accae012e3 (diff)
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: 1c1008c793fa ("net: bcmgenet: add main driver file") Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions