Skip to contentSkip to conversation

net: caif: modify the label out_err to out

PATCH Applied Dongliang Mu 2 participants 2 messages Jun 18, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: caif: modify the label out_err to out

Modify the label out_err to out to avoid the meanless kfree.

---
 net/caif/cfcnfg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/caif/cfcnfg.c +1 -1
index cac30e676ac9..23267c8db7c4 100644
@@ -480,7 +480,7 @@ cfcnfg_add_phy_layer(struct cfcnfg *cnfg,
 	phyinfo = kzalloc(sizeof(struct cfcnfg_phyinfo), GFP_ATOMIC);
 	if (!phyinfo) {
 		res = -ENOMEM;
-		goto out_err;
+		goto out;
 	}
 
 	phy_layer->id = phyid;
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

Quoted 6 lines · On Fri, 18 Jun 2021 15:32:04 +0800 you wrote:

Modify the label out_err to out to avoid the meanless kfree.

---
 net/caif/cfcnfg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- net: caif: modify the label out_err to out

    https://git.kernel.org/netdev/net-next/c/9fd2bc3206b3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html