mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 03:06:43 +00:00
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>
This commit is contained in:
parent
3cb7cf1540
commit
08c8acc9d8
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user