Re: [PATCH] softingcs: Fix memleak on registration failure in softingcs_probe

From: patchwork-bot+netdevbpf
Date: Sun Jan 09 2022 - 17:10:33 EST


Hello:

This patch was applied to netdev/net.git (master)
by Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>:

On Sat, 8 Jan 2022 09:25:51 +0000 you wrote:
> In case device registration fails during module initialisation, the
> platform device structure needs to be freed using platform_device_put()
> to properly free all resources (e.g. the device name).
>
> Fixes: 0a0b7a5f7a04 ("can: add driver for Softing card")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- softingcs: Fix memleak on registration failure in softingcs_probe
https://git.kernel.org/netdev/net/c/ced4913efb0a

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