i40e: fix build warning in ice_fltr_add_mac_to_list()
stable inclusion from stable-v5.10.184 commit fa303270602d9d281a39c1e3a7454fa06452d70e category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fa303270602d9d281a39c1e3a7454fa06452d70e -------------------------------- Not upstream as this was fixed in a much larger change in commit 5e24d598 ("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> Signed-off-by:
sanglipeng <sanglipeng1@jd.com> (cherry picked from commit 311376eb)
Loading
Please sign in to comment