Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Two minor conflicts: 1) net/ipv4/route.c, adding a new local variable while moving another local variable and removing it's initial assignment. 2) drivers/net/dsa/microchip/ksz9477.c, overlapping changes. One pretty prints the port mode differently, whilst another changes the driver to try and obtain the port mode from the port node rather than the switch node. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -76,7 +76,7 @@ static int hsr_newlink(struct net *src_net, struct net_device *dev,
|
||||
proto = nla_get_u8(data[IFLA_HSR_PROTOCOL]);
|
||||
|
||||
if (proto >= HSR_PROTOCOL_MAX) {
|
||||
NL_SET_ERR_MSG_MOD(extack, "Unsupported protocol\n");
|
||||
NL_SET_ERR_MSG_MOD(extack, "Unsupported protocol");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
@@ -84,14 +84,14 @@ static int hsr_newlink(struct net *src_net, struct net_device *dev,
|
||||
proto_version = HSR_V0;
|
||||
} else {
|
||||
if (proto == HSR_PROTOCOL_PRP) {
|
||||
NL_SET_ERR_MSG_MOD(extack, "PRP version unsupported\n");
|
||||
NL_SET_ERR_MSG_MOD(extack, "PRP version unsupported");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
proto_version = nla_get_u8(data[IFLA_HSR_VERSION]);
|
||||
if (proto_version > HSR_V1) {
|
||||
NL_SET_ERR_MSG_MOD(extack,
|
||||
"Only HSR version 0/1 supported\n");
|
||||
"Only HSR version 0/1 supported");
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user