Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0838abb3 authored by Dmitri Epshtein's avatar Dmitri Epshtein Committed by David S. Miller
Browse files

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: default avatarDmitri Epshtein <dima@marvell.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 928b6519
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1107,7 +1107,7 @@ static void mvneta_port_down(struct mvneta_port *pp)
	do {
		if (count++ >= MVNETA_RX_DISABLE_TIMEOUT_MSEC) {
			netdev_warn(pp->dev,
				    "TIMEOUT for RX stopped ! rx_queue_cmd: 0x08%x\n",
				    "TIMEOUT for RX stopped ! rx_queue_cmd: 0x%08x\n",
				    val);
			break;
		}
@@ -1146,7 +1146,7 @@ static void mvneta_port_down(struct mvneta_port *pp)
	do {
		if (count++ >= MVNETA_TX_FIFO_EMPTY_TIMEOUT) {
			netdev_warn(pp->dev,
				    "TX FIFO empty timeout status=0x08%x\n",
				    "TX FIFO empty timeout status=0x%08x\n",
				    val);
			break;
		}