net: ixgbevf: fix a missing check of ixgbevf_write_msg_read_ack
If ixgbevf_write_msg_read_ack fails, return its error code upstream Signed-off-by: Kangjie Lu <kjlu@umn.edu> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>alistair/sunxi64-5.4-dsi
parent
cd45832069
commit
20d437ee8f
|
@ -508,9 +508,8 @@ static s32 ixgbevf_update_mc_addr_list_vf(struct ixgbe_hw *hw,
|
||||||
vector_list[i++] = ixgbevf_mta_vector(hw, ha->addr);
|
vector_list[i++] = ixgbevf_mta_vector(hw, ha->addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, IXGBE_VFMAILBOX_SIZE);
|
return ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf,
|
||||||
|
IXGBE_VFMAILBOX_SIZE);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue