summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2024-10-08 01:57:11 +0200
committerJakub Kicinski <kuba@kernel.org>2024-10-09 03:25:52 +0200
commit08c8acc9d8f3f70d62dd928571368d5018206490 (patch)
tree17742528813516fdd9c59a01ae796fc90eb8b898 /drivers/net
parentnet/sched: accept TCA_STAB only for root qdisc (diff)
downloadlinux-08c8acc9d8f3f70d62dd928571368d5018206490.tar.xz
linux-08c8acc9d8f3f70d62dd928571368d5018206490.zip
net: ibm: emac: mal: fix wrong goto
dcr_map is called in the previous if and therefore needs to be unmapped. Fixes: 1ff0fcfcb1a6 ("ibm_newemac: Fix new MAL feature handling") Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20241007235711.5714-1-rosenp@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/ibm/emac/mal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/emac/mal.c b/drivers/net/ethernet/ibm/emac/mal.c
index d92dd9c83031..0c5e22d14372 100644
--- a/drivers/net/ethernet/ibm/emac/mal.c
+++ b/drivers/net/ethernet/ibm/emac/mal.c
@@ -578,7 +578,7 @@ static int mal_probe(struct platform_device *ofdev)
printk(KERN_ERR "%pOF: Support for 405EZ not enabled!\n",
ofdev->dev.of_node);
err = -ENODEV;
- goto fail;
+ goto fail_unmap;
#endif
}