The Rx ring buffer setup code was cloned from the
similar Tx ring buffer code, but the message was never
updated.  So, if there is an error in setting up the
Rx ring, it printks "error in setting up transmit ring".

Signed-off-by: Paul Gortmaker <paul.gortma...@windriver.com>
---
 drivers/net/e1000e/netdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 0687c6a..ade971c 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -1755,7 +1755,7 @@ err_pages:
        }
 err:
        vfree(rx_ring->buffer_info);
-       e_err("Unable to allocate memory for the transmit descriptor ring\n");
+       e_err("Unable to allocate memory for the receive descriptor ring\n");
        return err;
 }
 
-- 
1.6.5.rc1


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel

Reply via email to