i40e: fix build warning in ice_fltr_add_mac_to_list()
Not upstream as this was fixed in a much larger change in commit 5e24d5984c80 ("ice: Use int for ice_status") The function ice_fltr_add_mac_to_list() has the wrong prototype match from the .h file to the .c declaration, so fix it up, otherwise gcc-13 complains (rightfully) that the type is incorrect. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
15ca8d584c
commit
fa30327060
@ -128,7 +128,7 @@ void ice_fltr_remove_all(struct ice_vsi *vsi)
|
||||
* @mac: MAC address to add
|
||||
* @action: filter action
|
||||
*/
|
||||
int
|
||||
enum ice_status
|
||||
ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list,
|
||||
const u8 *mac, enum ice_sw_fwd_act_type action)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user