mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
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:
@@ -128,7 +128,7 @@ void ice_fltr_remove_all(struct ice_vsi *vsi)
|
|||||||
* @mac: MAC address to add
|
* @mac: MAC address to add
|
||||||
* @action: filter action
|
* @action: filter action
|
||||||
*/
|
*/
|
||||||
int
|
enum ice_status
|
||||||
ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list,
|
ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list,
|
||||||
const u8 *mac, enum ice_sw_fwd_act_type action)
|
const u8 *mac, enum ice_sw_fwd_act_type action)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user