[PATCH net] net: dsa: mt7530: correct ds->num_ports
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Mon Oct 18 05:40:06 PDT 2021
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem at davemloft.net>:
On Sat, 16 Oct 2021 14:24:14 +0800 you wrote:
> Setting ds->num_ports to DSA_MAX_PORTS made DSA core allocate unnecessary
> dsa_port's and call mt7530_port_disable for non-existent ports.
>
> Set it to MT7530_NUM_PORTS to fix that, and dsa_is_user_port check in
> port_enable/disable is no longer required.
>
> Cc: stable at vger.kernel.org
> Signed-off-by: DENG Qingfang <dqfext at gmail.com>
>
> [...]
Here is the summary with links:
- [net] net: dsa: mt7530: correct ds->num_ports
https://git.kernel.org/netdev/net/c/342afce10d6f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list