Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bd7823c authored by Rosen Penev's avatar Rosen Penev Committed by Greg Kroah-Hartman
Browse files

net: ibm: emac: mal: fix wrong goto



[ Upstream commit 08c8acc9d8f3f70d62dd928571368d5018206490 ]

dcr_map is called in the previous if and therefore needs to be unmapped.

Fixes: 1ff0fcfc ("ibm_newemac: Fix new MAL feature handling")
Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20241007235711.5714-1-rosenp@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dca2ca65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -581,7 +581,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
	}