i40e: whitespace fixes
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 17 Jan 2014 23:36:33 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 03:13:03 +0000 (19:13 -0800)
Fix more whitespace issues, including making some locals declared
in a nicer order.

Also update Copyright string printed when the driver loads.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_prototype.h

index 529ecb4da0761f5ba40802ba1930f9da30ce36a8..cfcee4b8475ca57dc7597cd66a78c031eb56bdc8 100644 (file)
@@ -1557,8 +1557,8 @@ i40e_status i40e_aq_discover_capabilities(struct i40e_hw *hw,
                                struct i40e_asq_cmd_details *cmd_details)
 {
        struct i40e_aqc_list_capabilites *cmd;
-       i40e_status status = 0;
        struct i40e_aq_desc desc;
+       i40e_status status = 0;
 
        cmd = (struct i40e_aqc_list_capabilites *)&desc.params.raw;
 
index 7b87d5115816699ef17f28814b7f204a8eed39c9..151f9ff640b5adf58b5728eafb690f02ee1a8c7d 100644 (file)
@@ -1552,6 +1552,7 @@ static int i40e_add_del_fdir_ethtool(struct i40e_vsi *vsi,
 
        return ret;
 }
+
 /**
  * i40e_set_rxnfc - command to set RX flow classification rules
  * @netdev: network interface device structure
index ff4aa74ec51be7cd9dbff9530eee9a68f4107442..adebf7319bb52ba8c2629f410884dc8acb344299 100644 (file)
@@ -43,7 +43,7 @@ static const char i40e_driver_string[] =
             __stringify(DRV_VERSION_MINOR) "." \
             __stringify(DRV_VERSION_BUILD)    DRV_KERN
 const char i40e_driver_version_str[] = DRV_VERSION;
-static const char i40e_copyright[] = "Copyright (c) 2013 Intel Corporation.";
+static const char i40e_copyright[] = "Copyright (c) 2013 - 2014 Intel Corporation.";
 
 /* a bit of forward declarations */
 static void i40e_vsi_reinit_locked(struct i40e_vsi *vsi);
@@ -1072,7 +1072,7 @@ struct i40e_mac_filter *i40e_put_mac_in_vlan(struct i40e_vsi *vsi, u8 *macaddr,
                if (!i40e_find_filter(vsi, macaddr, f->vlan,
                                      is_vf, is_netdev)) {
                        if (!i40e_add_filter(vsi, macaddr, f->vlan,
-                                               is_vf, is_netdev))
+                                            is_vf, is_netdev))
                                return NULL;
                }
        }
index f8c53a6ec580504b74e18b38676e828eede65fda..8c426f470047162c11e9145d5d9161f313995f9e 100644 (file)
@@ -59,8 +59,7 @@ void i40e_debug_aq(struct i40e_hw *hw,
 
 void i40e_idle_aq(struct i40e_hw *hw);
 bool i40e_check_asq_alive(struct i40e_hw *hw);
-i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw,
-                                  bool unloading);
+i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading);
 
 u32 i40e_led_get(struct i40e_hw *hw);
 void i40e_led_set(struct i40e_hw *hw, u32 mode, bool blink);