Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/core/devlink.c between commit: b28d8f0c25a9 ("devlink: Correct VIRTUAL port to not have phys_port attributes") from the net tree and commit: f285f37cb1e6 ("devlink: append split port number to the port name") from the net-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc net/core/devlink.c index 051432ea4f69,69681f19388e..000000000000 --- a/net/core/devlink.c +++ b/net/core/devlink.c @@@ -8630,12 -8631,11 +8630,10 @@@ static int __devlink_port_phys_port_nam switch (attrs->flavour) { case DEVLINK_PORT_FLAVOUR_PHYSICAL: - if (!attrs->split) - n = snprintf(name, len, "p%u", attrs->phys.port_number); - else - n = snprintf(name, len, "p%us%u", - attrs->phys.port_number, - attrs->phys.split_subport_number); - case DEVLINK_PORT_FLAVOUR_VIRTUAL: + n = snprintf(name, len, "p%u", attrs->phys.port_number); + if (n < len && attrs->split) + n += snprintf(name + n, len - n, "s%u", + attrs->phys.split_subport_number); break; case DEVLINK_PORT_FLAVOUR_CPU: case DEVLINK_PORT_FLAVOUR_DSA: