diff options
author | David S. Miller <davem@davemloft.net> | 2015-04-06 21:52:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-06 22:34:15 -0400 |
commit | c85d6975ef923cffdd56de3e0e6aba0977282cff (patch) | |
tree | cb497deea01827951809c9c7c0f1c22780c146be /drivers/net/ethernet/marvell | |
parent | 60302ff631f0f3eac0ec592e128b776f0676b397 (diff) | |
parent | f22e6e847115abc3a0e2ad7bb18d243d42275af1 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
drivers/net/ethernet/mellanox/mlx4/cmd.c
net/core/fib_rules.c
net/ipv4/fib_frontend.c
The fib_rules.c and fib_frontend.c conflicts were locking adjustments
in 'net' overlapping addition and removal of code in 'net-next'.
The mlx4 conflict was a bug fix in 'net' happening in the same
place a constant was being replaced with a more suitable macro.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index a7a9271f64b1..ce5f7f9cff06 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c | |||
@@ -2729,16 +2729,11 @@ static int mvneta_stop(struct net_device *dev) | |||
2729 | static int mvneta_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | 2729 | static int mvneta_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) |
2730 | { | 2730 | { |
2731 | struct mvneta_port *pp = netdev_priv(dev); | 2731 | struct mvneta_port *pp = netdev_priv(dev); |
2732 | int ret; | ||
2733 | 2732 | ||
2734 | if (!pp->phy_dev) | 2733 | if (!pp->phy_dev) |
2735 | return -ENOTSUPP; | 2734 | return -ENOTSUPP; |
2736 | 2735 | ||
2737 | ret = phy_mii_ioctl(pp->phy_dev, ifr, cmd); | 2736 | return phy_mii_ioctl(pp->phy_dev, ifr, cmd); |
2738 | if (!ret) | ||
2739 | mvneta_adjust_link(dev); | ||
2740 | |||
2741 | return ret; | ||
2742 | } | 2737 | } |
2743 | 2738 | ||
2744 | /* Ethtool methods */ | 2739 | /* Ethtool methods */ |