Messages in this thread | | | Subject | Re: [net PATCH] net: dsa: qca8k: fix NULL pointer dereference for of_device_get_match_data | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 06 Sep 2022 09:40:13 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Paolo Abeni <pabeni@redhat.com>:
On Sun, 4 Sep 2022 23:53:19 +0200 you wrote: > of_device_get_match_data is called on priv->dev before priv->dev is > actually set. Move of_device_get_match_data after priv->dev is correctly > set to fix this kernel panic. > > Fixes: 3bb0844e7bcd ("net: dsa: qca8k: cache match data to speed up access") > Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> > > [...]
Here is the summary with links: - [net] net: dsa: qca8k: fix NULL pointer dereference for of_device_get_match_data https://git.kernel.org/netdev/net/c/42b998d4aa59
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |