Re: [PATCH -net] ptp: free 'vclock_index' in ptp_clock_release()

From: patchwork-bot+netdevbpf
Date: Thu Oct 21 2021 - 08:00:14 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 21 Oct 2021 17:13:53 +0800 you wrote:
> 'vclock_index' is accessed from sysfs, it shouled be freed
> in release function, so move it from ptp_clock_unregister()
> to ptp_clock_release().
>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> ---
> drivers/ptp/ptp_clock.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)

Here is the summary with links:
- [-net] ptp: free 'vclock_index' in ptp_clock_release()
https://git.kernel.org/netdev/net/c/b6b19a71c8bb

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