[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167971081831.20950.12097733993259593696.git-patchwork-notify@kernel.org>
Date: Sat, 25 Mar 2023 02:20:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: SongJingyi <u201912584@...t.edu.cn>
Cc: yangbo.lu@....com, richardcochran@...il.com, davem@...emloft.net,
claudiu.manoil@....com, hust-os-kernel-patches@...glegroups.com,
error27@...il.com, dzm91@...t.edu.cn, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ptp_qoriq: fix memory leak in probe()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 24 Mar 2023 11:14:06 +0800 you wrote:
> Smatch complains that:
> drivers/ptp/ptp_qoriq.c ptp_qoriq_probe()
> warn: 'base' from ioremap() not released.
>
> Fix this by revising the parameter from 'ptp_qoriq->base' to 'base'.
> This is only a bug if ptp_qoriq_init() returns on the
> first -ENODEV error path.
> For other error paths ptp_qoriq->base and base are the same.
> And this change makes the code more readable.
>
> [...]
Here is the summary with links:
- ptp_qoriq: fix memory leak in probe()
https://git.kernel.org/netdev/net/c/f33642224e38
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists