net: mvneta: fix error messages in mvneta_port_down function
authorDmitri Epshtein <dima@marvell.com>
Sat, 12 Mar 2016 17:44:19 +0000 (18:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 19:48:52 +0000 (15:48 -0400)
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>
drivers/net/ethernet/marvell/mvneta.c

index 09a306628807a5996ca9ea0377a05d9f8b5e8a36..1af60bdea05130b620b82913254bede0332a4e38 100644 (file)
@@ -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;
                }