amd-xgbe: Fix debug output of max channel counts
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 23 May 2018 16:38:11 +0000 (11:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 20:33:00 +0000 (16:33 -0400)
A debug output print statement uses the wrong variable to output the
maximum Rx channel count (cut and paste error, basically).  Fix the
statement to use the proper variable.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-pci.c

index 82d1f41..7b63521 100644 (file)
@@ -344,7 +344,7 @@ static int xgbe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
        if (netif_msg_probe(pdata)) {
                dev_dbg(dev, "max tx/rx channel count = %u/%u\n",
                        pdata->tx_max_channel_count,
-                       pdata->tx_max_channel_count);
+                       pdata->rx_max_channel_count);
                dev_dbg(dev, "max tx/rx hw queue count = %u/%u\n",
                        pdata->tx_max_q_count, pdata->rx_max_q_count);
        }