i40e: fix build warning in ice_fltr_add_mac_to_list()
Not upstream as this was fixed in a much larger change in commit
5e24d5984c ("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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue