e1000e: minor error message corrections
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 24 Nov 2010 06:02:06 +0000 (06:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Dec 2010 06:13:46 +0000 (22:13 -0800)
Correct error messages when setting up Rx resources and when checking
module parameters.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/netdev.c
drivers/net/e1000e/param.c

index 4bf843ac7ea3a24f9e97bdedd0b6a01f0fea5809..6e1f3a366a7aabfe434407cb377c90a528c0e160 100644 (file)
@@ -2130,7 +2130,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;
 }
 
index 3d36911f77f3080c4f8893a23e04a2810f56966c..a9612b0e4bca89938117c6febffbc4ab07098b1b 100644 (file)
@@ -421,7 +421,7 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter)
                static const struct e1000_option opt = {
                        .type = enable_option,
                        .name = "CRC Stripping",
-                       .err  = "defaulting to enabled",
+                       .err  = "defaulting to Enabled",
                        .def  = OPTION_ENABLED
                };