Re: [PATCH net-next 1/1] net: pcs: xpcs: fix error handling on failed to allocate memory
From: patchwork-bot+netdevbpf
Date: Wed Aug 11 2021 - 18:10:08 EST
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 10 Aug 2021 16:58:12 +0800 you wrote:
> Drivers such as sja1105 and stmmac that call xpcs_create() expects an
> error returned by the pcs-xpcs module, but this was not the case on
> failed to allocate memory.
>
> Fixed this by returning an -ENOMEM instead of a NULL pointer.
>
> Cc: Vladimir Oltean <vladimir.oltean@xxxxxxx>
> Signed-off-by: Wong Vee Khee <vee.khee.wong@xxxxxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net-next,1/1] net: pcs: xpcs: fix error handling on failed to allocate memory
https://git.kernel.org/netdev/net/c/2cad5d2ed1b4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html