Re: [net PATCH] net: dsa: qca8k: fix NULL pointer dereference for of_device_get_match_data

From: patchwork-bot+netdevbpf
Date: Tue Sep 06 2022 - 05:40:26 EST


Hello:

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

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@xxxxxxxxx>
>
> [...]

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