|
@@ -1774,7 +1774,7 @@ int i40e_vc_process_vf_msg(struct i40e_pf *pf, u16 vf_id, u32 v_opcode,
|
|
|
u32 v_retval, u8 *msg, u16 msglen)
|
|
u32 v_retval, u8 *msg, u16 msglen)
|
|
|
{
|
|
{
|
|
|
struct i40e_hw *hw = &pf->hw;
|
|
struct i40e_hw *hw = &pf->hw;
|
|
|
- int local_vf_id = vf_id - hw->func_caps.vf_base_id;
|
|
|
|
|
|
|
+ unsigned int local_vf_id = vf_id - hw->func_caps.vf_base_id;
|
|
|
struct i40e_vf *vf;
|
|
struct i40e_vf *vf;
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|