mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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: 1ff0fcfcb1
("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1edf039ee0
commit
25c5ef253a
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ static int mal_probe(struct platform_device *ofdev)
|
||||||
printk(KERN_ERR "%pOF: Support for 405EZ not enabled!\n",
|
printk(KERN_ERR "%pOF: Support for 405EZ not enabled!\n",
|
||||||
ofdev->dev.of_node);
|
ofdev->dev.of_node);
|
||||||
err = -ENODEV;
|
err = -ENODEV;
|
||||||
goto fail;
|
goto fail_unmap;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue