[Intel-wired-lan] [V3: next PATCH S22 02/12] i40e: fix mismatched declaration

Deepthi Kavalur deepthi.kavalur at intel.com
Thu Nov 19 19:34:15 UTC 2015


From: Jesse Brandeburg <jesse.brandeburg at intel.com>

i40e_vsi_add_pvid() was declared in the i40e.h file as a different
return type than the function implementation.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
Change-ID: I22ea1f05e1d3c79d1b198dd375a766d839ea4706
---
 drivers/net/ethernet/intel/i40e/i40e.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h
index adfc450..04a3e87 100644
--- a/drivers/net/ethernet/intel/i40e/i40e.h
+++ b/drivers/net/ethernet/intel/i40e/i40e.h
@@ -717,7 +717,7 @@ struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, u16 uplink_seid,
 void i40e_veb_release(struct i40e_veb *veb);
 
 int i40e_veb_config_tc(struct i40e_veb *veb, u8 enabled_tc);
-i40e_status i40e_vsi_add_pvid(struct i40e_vsi *vsi, u16 vid);
+int i40e_vsi_add_pvid(struct i40e_vsi *vsi, u16 vid);
 void i40e_vsi_remove_pvid(struct i40e_vsi *vsi);
 void i40e_vsi_reset_stats(struct i40e_vsi *vsi);
 void i40e_pf_reset_stats(struct i40e_pf *pf);
-- 
2.1.0



More information about the Intel-wired-lan mailing list