]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ixgbe: fix typo's
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 22 Dec 2011 16:34:52 +0000 (16:34 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:34:58 +0000 (22:34 +0800)
Saw typo in one message, so decided to run spell checker.

(cherry picked from commit 52f33af8ac479259f77abab6c535dac93ce654e8)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c

index 946eb6a7aa4613399b946535454f38d6a3454517..e8d0d8afe7bbd8a41d4fca6ec8be4c5fff7a7641 100644 (file)
@@ -145,7 +145,7 @@ static void ixgbe_service_event_complete(struct ixgbe_adapter *adapter)
 {
        BUG_ON(!test_bit(__IXGBE_SERVICE_SCHED, &adapter->state));
 
-       /* flush memory to make sure state is correct before next watchog */
+       /* flush memory to make sure state is correct before next watchdog */
        smp_mb__before_clear_bit();
        clear_bit(__IXGBE_SERVICE_SCHED, &adapter->state);
 }
@@ -2155,7 +2155,7 @@ static irqreturn_t ixgbe_intr(int irq, void *data)
        IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_IRQ_CLEAR_MASK);
 
        /* for NAPI, using EIAM to auto-mask tx/rx interrupt bits on read
-        * therefore no explict interrupt disable is necessary */
+        * therefore no explicit interrupt disable is necessary */
        eicr = IXGBE_READ_REG(hw, IXGBE_EICR);
        if (!eicr) {
                /*
@@ -3596,7 +3596,7 @@ static inline bool ixgbe_is_sfp(struct ixgbe_hw *hw)
 static void ixgbe_sfp_link_config(struct ixgbe_adapter *adapter)
 {
        /*
-        * We are assuming the worst case scenerio here, and that
+        * We are assuming the worst case scenario here, and that
         * is that an SFP was inserted/removed after the reset
         * but before SFP detection was enabled.  As such the best
         * solution is to just start searching as soon as we start
@@ -3818,7 +3818,7 @@ void ixgbe_reset(struct ixgbe_adapter *adapter)
        case IXGBE_ERR_EEPROM_VERSION:
                /* We are running on a pre-production device, log a warning */
                e_dev_warn("This device is a pre-production adapter/LOM. "
-                          "Please be aware there may be issuesassociated with "
+                          "Please be aware there may be issues associated with "
                           "your hardware.  If you are experiencing problems "
                           "please contact your Intel or hardware "
                           "representative who provided you with this "
@@ -5782,9 +5782,9 @@ static void ixgbe_fdir_reinit_subtask(struct ixgbe_adapter *adapter)
  * @adapter - pointer to the device adapter structure
  *
  * This function serves two purposes.  First it strobes the interrupt lines
- * in order to make certain interrupts are occuring.  Secondly it sets the
+ * in order to make certain interrupts are occurring.  Secondly it sets the
  * bits needed to check for TX hangs.  As a result we should immediately
- * determine if a hang has occured.
+ * determine if a hang has occurred.
  */
 static void ixgbe_check_hang_subtask(struct ixgbe_adapter *adapter)
 {
@@ -7122,7 +7122,7 @@ int ixgbe_setup_tc(struct net_device *dev, u8 tc)
                return -EINVAL;
 
        /* Hardware has to reinitialize queues and interrupts to
-        * match packet buffer alignment. Unfortunantly, the
+        * match packet buffer alignment. Unfortunately, the
         * hardware is not flexible enough to do this dynamically.
         */
        if (netif_running(dev))