Skip to content
Commit 149ea30f authored by Parav Pandit's avatar Parav Pandit Committed by David S. Miller
Browse files

devlink: Fix phys_port_name of virtual port and merge error



Merge commit cited in fixes tag was incorrect. Due to it phys_port_name
of the virtual port resulted in incorrect name.

Also the phys_port_name of the physical port was written twice due to
the merge error.

Fix it by removing the old code and inserting back the misplaced code.

Related commits of interest in net and net-next branches that resulted
in merge conflict are:

in net-next branch:
commit f285f37c ("devlink: append split port number to the port name")

in net branch:
commit b28d8f0c ("devlink: Correct VIRTUAL port to not have phys_port attributes")

Fixes: 12628565 ("Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/net")
Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
Reported-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
Tested-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4c85e575
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment