Skip to content

Commit 08c8acc

Browse files
nehebkuba-moo
authored andcommitted
net: ibm: emac: mal: fix wrong goto
dcr_map is called in the previous if and therefore needs to be unmapped. Fixes: 1ff0fcf ("ibm_newemac: Fix new MAL feature handling") Signed-off-by: Rosen Penev <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 3cb7cf1 commit 08c8acc

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/ibm/emac

1 file changed

+1
-1
lines changed

drivers/net/ethernet/ibm/emac/mal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static int mal_probe(struct platform_device *ofdev)
578578
printk(KERN_ERR "%pOF: Support for 405EZ not enabled!\n",
579579
ofdev->dev.of_node);
580580
err = -ENODEV;
581-
goto fail;
581+
goto fail_unmap;
582582
#endif
583583
}
584584

0 commit comments

Comments
 (0)