diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2022-10-11 09:50:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-12 10:05:04 +0200 |
commit | 7e777b1b012e977cfd04347fb347f3f5d097f99e (patch) | |
tree | cfbb88cefa3ae37f1c54db9c518bea9ec4570155 /net/ipv4/ping.c | |
parent | Merge tag 'wireless-2022-10-11' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-7e777b1b012e977cfd04347fb347f3f5d097f99e.tar.xz linux-7e777b1b012e977cfd04347fb347f3f5d097f99e.zip |
net: ethernet: ti: am65-cpsw: set correct devlink flavour for unused ports
am65_cpsw_nuss_register_ndevs() skips calling devlink_port_type_eth_set()
for ports without assigned netdev, triggering the following warning when
DEVLINK_PORT_TYPE_WARN_TIMEOUT elapses after 3600s:
Type was not set for devlink port.
WARNING: CPU: 0 PID: 129 at net/core/devlink.c:8095 devlink_port_type_warn+0x18/0x30
Fixes: 0680e20af5fb ("net: ethernet: ti: am65-cpsw: Fix devlink port register sequence")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ping.c')
0 files changed, 0 insertions, 0 deletions