[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1211537487-24953-2-git-send-email-leoli@freescale.com>
Date: Fri, 23 May 2008 18:11:26 +0800
From: Li Yang <leoli@...escale.com>
To: jeff@...zik.org
Cc: netdev@...r.kernel.org,
Joakim Tjernlund <Joakim.Tjernlund@...nsmode.se>,
Li Yang <leoli@...escale.com>
Subject: [PATCH 1/2] ucc_geth_ethtool: Fix typo
From: Joakim Tjernlund <Joakim.Tjernlund@...nsmode.se>
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@...nsmode.se>
Signed-off-by: Li Yang <leoli@...escale.com>
---
drivers/net/ucc_geth_ethtool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index 299b7f1..b84ffd8 100644
--- a/drivers/net/ucc_geth_ethtool.c
+++ b/drivers/net/ucc_geth_ethtool.c
@@ -308,7 +308,7 @@ static void uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf)
buf += UEC_TX_FW_STATS_LEN * ETH_GSTRING_LEN;
}
if (stats_mode & UCC_GETH_STATISTICS_GATHERING_MODE_FIRMWARE_RX)
- memcpy(buf, tx_fw_stat_gstrings, UEC_RX_FW_STATS_LEN *
+ memcpy(buf, rx_fw_stat_gstrings, UEC_RX_FW_STATS_LEN *
ETH_GSTRING_LEN);
}
--
1.5.5.1.248.g4b17
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists