projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb7cf1
)
net: ibm: emac: mal: fix wrong goto
author
Rosen Penev
<rosenp@gmail.com>
Mon, 7 Oct 2024 23:57:11 +0000
(16:57 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 9 Oct 2024 01:25:52 +0000
(18:25 -0700)
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>
drivers/net/ethernet/ibm/emac/mal.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ibm/emac/mal.c
b/drivers/net/ethernet/ibm/emac/mal.c
index
d92dd9c
..
0c5e22d
100644
(file)
--- a/
drivers/net/ethernet/ibm/emac/mal.c
+++ b/
drivers/net/ethernet/ibm/emac/mal.c
@@
-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
}