]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ibm: emac: mal: fix wrong goto
authorRosen Penev <rosenp@gmail.com>
Mon, 7 Oct 2024 23:57:11 +0000 (16:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:56 +0000 (15:11 +0200)
commitb5d662f49701aa168c331ee54dca76a07e9218b3
treebd4b1dc6c71e9535b2176f3a4b8d8ccb909d49b3
parent8fb6503592d39065316f45d267c5527b4e7cd995
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: 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/ibm/emac/mal.c