diff options
author | Dmitri Epshtein <dima@marvell.com> | 2016-03-12 12:44:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-14 15:48:52 -0400 |
commit | 0838abb3c08cff83719b461adffefc83721af34b (patch) | |
tree | 38d8719d56f540103f5a26a36541d7c18d85bf37 /drivers/net/ethernet/marvell/mvneta.c | |
parent | 928b6519afeb2a5e2dc61154380b545ed66c476a (diff) |
net: mvneta: fix error messages in mvneta_port_down function
This commit corrects error printing when shutting down the port.
[gregory.clement@free-electrons.com: split initial commit in two
individual changes]
Signed-off-by: Dmitri Epshtein <dima@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvneta.c')
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 09a306628807..1af60bdea051 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c | |||
@@ -1107,7 +1107,7 @@ static void mvneta_port_down(struct mvneta_port *pp) | |||
1107 | do { | 1107 | do { |
1108 | if (count++ >= MVNETA_RX_DISABLE_TIMEOUT_MSEC) { | 1108 | if (count++ >= MVNETA_RX_DISABLE_TIMEOUT_MSEC) { |
1109 | netdev_warn(pp->dev, | 1109 | netdev_warn(pp->dev, |
1110 | "TIMEOUT for RX stopped ! rx_queue_cmd: 0x08%x\n", | 1110 | "TIMEOUT for RX stopped ! rx_queue_cmd: 0x%08x\n", |
1111 | val); | 1111 | val); |
1112 | break; | 1112 | break; |
1113 | } | 1113 | } |
@@ -1146,7 +1146,7 @@ static void mvneta_port_down(struct mvneta_port *pp) | |||
1146 | do { | 1146 | do { |
1147 | if (count++ >= MVNETA_TX_FIFO_EMPTY_TIMEOUT) { | 1147 | if (count++ >= MVNETA_TX_FIFO_EMPTY_TIMEOUT) { |
1148 | netdev_warn(pp->dev, | 1148 | netdev_warn(pp->dev, |
1149 | "TX FIFO empty timeout status=0x08%x\n", | 1149 | "TX FIFO empty timeout status=0x%08x\n", |
1150 | val); | 1150 | val); |
1151 | break; | 1151 | break; |
1152 | } | 1152 | } |