Commit 08c8acc9 authored by Rosen Penev's avatar Rosen Penev Committed by Jakub Kicinski
Browse files

net: ibm: emac: mal: fix wrong goto



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>
parent 3cb7cf15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
	}