diff mbox

[next,S55,08/14] i40evf: fix client warnings

Message ID 1480377971-23412-9-git-send-email-bimmy.pujari@intel.com
State Accepted
Delegated to: Jeff Kirsher
Headers show

Commit Message

Pujari, Bimmy Nov. 29, 2016, 12:06 a.m. UTC
From: Faisal Latif <faisal.latif@intel.com>

The function prototype in i40evf_client.h are giving warnings while
compiling i40iwvf module. Move these function prototypes to i40evf.h.
Also fix return code from u32 to int and this return code is
consistent with i40e_client.h

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Change-Id: Ie3757f844993aabc27654aaf02ec14fb985ad2c4
---
 drivers/net/ethernet/intel/i40evf/i40evf.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Bowers, AndrewX Dec. 1, 2016, 7:46 p.m. UTC | #1
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Monday, November 28, 2016 4:06 PM
> To: intel-wired-lan@lists.osuosl.org
> Cc: Latif, Faisal <faisal.latif@intel.com>
> Subject: [Intel-wired-lan] [next PATCH S55 08/14] i40evf: fix client warnings
> 
> From: Faisal Latif <faisal.latif@intel.com>
> 
> The function prototype in i40evf_client.h are giving warnings while compiling
> i40iwvf module. Move these function prototypes to i40evf.h.
> Also fix return code from u32 to int and this return code is consistent with
> i40e_client.h
> 
> Signed-off-by: Faisal Latif <faisal.latif@intel.com>
> Change-Id: Ie3757f844993aabc27654aaf02ec14fb985ad2c4
> ---
>  drivers/net/ethernet/intel/i40evf/i40evf.h | 7 +++++++
>  1 file changed, 7 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
diff mbox

Patch

diff --git a/drivers/net/ethernet/intel/i40evf/i40evf.h b/drivers/net/ethernet/intel/i40evf/i40evf.h
index fffe4cf..1789266 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf.h
+++ b/drivers/net/ethernet/intel/i40evf/i40evf.h
@@ -336,4 +336,11 @@  void i40evf_virtchnl_completion(struct i40evf_adapter *adapter,
 				enum i40e_virtchnl_ops v_opcode,
 				i40e_status v_retval, u8 *msg, u16 msglen);
 int i40evf_config_rss(struct i40evf_adapter *adapter);
+int i40evf_lan_add_device(struct i40evf_adapter *adapter);
+int i40evf_lan_del_device(struct i40evf_adapter *adapter);
+void i40evf_client_subtask(struct i40evf_adapter *adapter);
+void i40evf_notify_client_message(struct i40e_vsi *vsi, u8 *msg, u16 len);
+void i40evf_notify_client_l2_params(struct i40e_vsi *vsi);
+void i40evf_notify_client_open(struct i40e_vsi *vsi);
+void i40evf_notify_client_close(struct i40e_vsi *vsi);
 #endif /* _I40EVF_H_ */