Re: [PATCH net v2] r6040: Fix kmemleak in probe and remove

From: patchwork-bot+netdevbpf
Date: Thu Dec 15 2022 - 07:00:24 EST


Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 13 Dec 2022 20:56:14 +0800 you wrote:
> There is a memory leaks reported by kmemleak:
>
> unreferenced object 0xffff888116111000 (size 2048):
> comm "modprobe", pid 817, jiffies 4294759745 (age 76.502s)
> hex dump (first 32 bytes):
> 00 c4 0a 04 81 88 ff ff 08 10 11 16 81 88 ff ff ................
> 08 10 11 16 81 88 ff ff 00 00 00 00 00 00 00 00 ................
> backtrace:
> [<ffffffff815bcd82>] kmalloc_trace+0x22/0x60
> [<ffffffff827e20ee>] phy_device_create+0x4e/0x90
> [<ffffffff827e6072>] get_phy_device+0xd2/0x220
> [<ffffffff827e7844>] mdiobus_scan+0xa4/0x2e0
> [<ffffffff827e8be2>] __mdiobus_register+0x482/0x8b0
> [<ffffffffa01f5d24>] r6040_init_one+0x714/0xd2c [r6040]
> ...
>
> [...]

Here is the summary with links:
- [net,v2] r6040: Fix kmemleak in probe and remove
https://git.kernel.org/netdev/net/c/7e43039a49c2

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