]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i40e: fix build warnings in i40e_alloc.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2023 15:10:11 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jun 2023 08:59:54 +0000 (10:59 +0200)
commit1cc6435cd704cb7598a526980d02ab8edf821bb4
tree9b00b31bb030cd982d7eadb407266f082f781bec
parentfc75b8973de4ca046ebec0989a28fe3e043dfb75
i40e: fix build warnings in i40e_alloc.h

Not upstream as it was fixed in a much larger api change in newer
kernels.

gcc-13 rightfully complains that enum is not the same as an int, so fix
up the function prototypes in i40e_alloc.h to be correct, solving a
bunch of build warnings.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/i40e/i40e_alloc.h